This commit is contained in:
2024-11-12 22:54:17 +08:00
parent 060c93511f
commit da202ec80b
@@ -27,9 +27,9 @@ else
useDebianPort
fi
fi
sudo debootstrap --include=git,cmake,gcc,make,debian-ports-archive-keyring,debian-archive-keyring,g++,dpkg-dev,qtbase5-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,ca-certificates --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 --arch=$1 $2 $bottlePath $5
sudo debootstrap --foreign --include=git,cmake,gcc,make,debian-ports-archive-keyring,debian-archive-keyring,g++,dpkg-dev,qtbase5-dev,ca-certificates --arch=$1 $2 $bottlePath $5
fi
if [[ $? != 0 ]] && [[ $1 == loong64 ]]; then
sudo apt install squashfs-tools git -y