This commit is contained in:
2024-11-12 22:27:39 +08:00
parent 041520a003
commit 7bb6b497f6
@@ -28,6 +28,9 @@ else
fi fi
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 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 if [[ $? != 0 ]] && [[ $1 == loong64 ]]; then
sudo apt install squashfs-tools git -y sudo apt install squashfs-tools git -y
wget https://github.com/GXDE-OS/GXDE/releases/download/resources/debian-base-loong64.squashfs wget https://github.com/GXDE-OS/GXDE/releases/download/resources/debian-base-loong64.squashfs