fix pve-lxc-syscalld build on loongarch64

This commit is contained in:
jiangcuo 2024-12-02 18:04:32 +08:00
parent 795b7f0a94
commit 840c57c1fe
2 changed files with 8 additions and 4 deletions

View File

@ -105,10 +105,14 @@ upload_pkg(){
update_submodues(){
rm $SH_PATH/packages/$PKGNAME/$PKGNAME/ -rf
mkdir $SH_PATH/packages/$PKGNAME/$PKGNAME/
# qemu is currently using Zeex/subhook, but Zeex/subhook is corrupted
if [ "$PKGNAME" == "pve-qemu" ];then
SKIP_SUBMODULE=1
fi
# qemu is currently using Zeex/subhook, but Zeex/subhook is corrupted
SKIP_SUBMODULE_PKG=("pve-qemu" "proxmox-backup-restore-image")
for name in "${SKIP_SUBMODULE_PKG[@]}"; do
if [ "$PKGNAME" == "$name" ]; then
SKIP_SUBMODULE=1
break
fi
done
if [ -n "$SKIP_SUBMODULE" ];then
git submodule update --init "$SH_PATH/packages/$PKGNAME/$PKGNAME"
else