Fix CI/CD build dependencies interactive prompt
Some checks failed
Build Packages / Build libostree Backport (push) Successful in 9m31s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m6s
Build Packages / Build bootc Package (push) Failing after 1m12s
Build Packages / Create Combined Artifacts (push) Has been skipped

- Add DEBIAN_FRONTEND=noninteractive to prevent apt prompts
- Add APT_LISTCHANGES_FRONTEND=none to disable package change notifications
- Change from apt to apt-get for better CI/CD compatibility
- Add apt-get update before installing build dependencies
- Add --no-install-recommends flag to reduce package count

This fixes the "Do you want to continue? [Y/n]" prompt that was
causing the libostree backport build to fail in the CI environment.
This commit is contained in:
robojerk 2025-07-21 01:01:26 +00:00
parent e9f2b52dd6
commit b8e6484059

View file

@ -63,7 +63,10 @@ jobs:
- name: Install build dependencies
run: |
cd /opt/Projects/ostree-backport-noble/ostree-${OSTREE_VERSION}
apt build-dep -y ./
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none
apt-get update
apt-get build-dep -y --no-install-recommends ./
- name: Build libostree backport
run: |