添加环境变量DEBIAN_FRONTEND=noninteractive

Signed-off-by: gfdgd_xi <3025613752@qq.com>
This commit is contained in:
2026-05-09 22:40:05 +08:00
parent 8c0ad2bc93
commit afd0d7d71e
2 changed files with 5 additions and 1 deletions
@@ -98,11 +98,13 @@ jobs:
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
DEBIAN_FRONTEND=noninteractive \
dpkg-buildpackage -b
else
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
DEBIAN_FRONTEND=noninteractive \
bash build-deb.sh
fi
cp $BOTTLEPATH/*.deb . -rv
+3 -1
View File
@@ -94,16 +94,18 @@ jobs:
- name: Building ${{ GITHUB.repository }}
run: |
gitPath=$(basename $GITHUB_REPOSITORY)
export gitPath=$(basename $GITHUB_REPOSITORY)
if [[ -f system-bottle/$gitPath/debian/control ]]; then
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
DEBIAN_FRONTEND=noninteractive \
dpkg-buildpackage -b
else
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
DEBIAN_FRONTEND=noninteractive \
bash build-deb.sh
fi
cp $BOTTLEPATH/*.deb . -rv