mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-22 05:36:37 +08:00
添加环境变量DEBIAN_FRONTEND=noninteractive
Signed-off-by: gfdgd_xi <3025613752@qq.com>
This commit is contained in:
@@ -98,11 +98,13 @@ jobs:
|
|||||||
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
|
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
|
||||||
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
|
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
|
||||||
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
||||||
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
dpkg-buildpackage -b
|
dpkg-buildpackage -b
|
||||||
else
|
else
|
||||||
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
|
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
|
||||||
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
|
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
|
||||||
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
||||||
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
bash build-deb.sh
|
bash build-deb.sh
|
||||||
fi
|
fi
|
||||||
cp $BOTTLEPATH/*.deb . -rv
|
cp $BOTTLEPATH/*.deb . -rv
|
||||||
|
|||||||
@@ -94,16 +94,18 @@ jobs:
|
|||||||
|
|
||||||
- name: Building ${{ GITHUB.repository }}
|
- name: Building ${{ GITHUB.repository }}
|
||||||
run: |
|
run: |
|
||||||
gitPath=$(basename $GITHUB_REPOSITORY)
|
export gitPath=$(basename $GITHUB_REPOSITORY)
|
||||||
if [[ -f system-bottle/$gitPath/debian/control ]]; then
|
if [[ -f system-bottle/$gitPath/debian/control ]]; then
|
||||||
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
|
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
|
||||||
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
|
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
|
||||||
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
||||||
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
dpkg-buildpackage -b
|
dpkg-buildpackage -b
|
||||||
else
|
else
|
||||||
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
|
env gitPath=$gitPath bash .github/workflows/run-command-in-chroot.sh \
|
||||||
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
|
env GXDE_ARCH=${{ inputs.arch }} GXDE_CODENAME=${{ inputs.gxde-codename }} \
|
||||||
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
GXDE_ARCH=${{ inputs.arch }} GXDE_CROSS_ARCH=${{ inputs.gxde-cross-arch }} GO111MODULE=off \
|
||||||
|
DEBIAN_FRONTEND=noninteractive \
|
||||||
bash build-deb.sh
|
bash build-deb.sh
|
||||||
fi
|
fi
|
||||||
cp $BOTTLEPATH/*.deb . -rv
|
cp $BOTTLEPATH/*.deb . -rv
|
||||||
|
|||||||
Reference in New Issue
Block a user