From 7bb6b497f61c91fb94f05fcc6485628193cd04ee Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Tue, 12 Nov 2024 22:27:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/configure-building-enviroment-base-system.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/configure-building-enviroment-base-system.sh b/.github/workflows/configure-building-enviroment-base-system.sh index 1b0f5c8..f5a4c08 100755 --- a/.github/workflows/configure-building-enviroment-base-system.sh +++ b/.github/workflows/configure-building-enviroment-base-system.sh @@ -28,6 +28,9 @@ else fi fi sudo debootstrap --include=git,cmake,gcc,make,debian-ports-archive-keyring,debian-archive-keyring,g++,dpkg-dev,qtbase5-dev,qtbase5-private-dev --arch=$1 $2 $bottlePath $5 +if [[ $? != 0 ]]; then + sudo debootstrap --foreign --include=git,cmake,gcc,make,debian-ports-archive-keyring,debian-archive-keyring,g++,dpkg-dev,qtbase5-dev,qtbase5-private-dev --arch=$1 $2 $bottlePath $5 +fi if [[ $? != 0 ]] && [[ $1 == loong64 ]]; then sudo apt install squashfs-tools git -y wget https://github.com/GXDE-OS/GXDE/releases/download/resources/debian-base-loong64.squashfs