From b8e6484059af564876670c6062f863a25bea93d7 Mon Sep 17 00:00:00 2001 From: robojerk Date: Mon, 21 Jul 2025 01:01:26 +0000 Subject: [PATCH] Fix CI/CD build dependencies interactive prompt - 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. --- .forgejo/workflows/build-packages.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build-packages.yml b/.forgejo/workflows/build-packages.yml index 73290d9..d762952 100644 --- a/.forgejo/workflows/build-packages.yml +++ b/.forgejo/workflows/build-packages.yml @@ -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: |