update proxmox-backup-restore-image to 0.6.1+port2
This commit is contained in:
parent
840c57c1fe
commit
39486a3ab2
33
packages/proxmox-backup-restore-image/autobuild.sh
Normal file
33
packages/proxmox-backup-restore-image/autobuild.sh
Normal file
@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
SH_DIR=$(cd $(dirname ${BASH_SOURCE[0]}); pwd)
|
||||
PKGNAME=$(basename $SH_DIR)
|
||||
|
||||
# submodule.list
|
||||
# zfsurl="https://gitea.lierfang.com/proxmox-mirrors/mirror_zfs"
|
||||
# ubuntukernelurl="https://gitea.lierfang.com/Proxmox-Port/linux-openeuler"
|
||||
|
||||
errlog(){
|
||||
echo $1
|
||||
exit 1
|
||||
|
||||
}
|
||||
|
||||
update_submodule(){
|
||||
cd $SH_DIR/$PKGNAME
|
||||
echo "init submodule"
|
||||
if [ -f "$SH_DIR/submodule.list" ];then
|
||||
source $SH_DIR/submodule.list
|
||||
git submodule set-url src/submodules/ubuntu-kernel "$zfsurl"
|
||||
git submodule set-url src/submodules/zfsonlinux "$ubuntukernelurl"
|
||||
fi
|
||||
git submodule update --init --recursive --depth=1
|
||||
}
|
||||
|
||||
echo "This is $PKGNAME build scripts"
|
||||
|
||||
update_submodule
|
||||
|
||||
. $SH_DIR/../common.sh
|
||||
|
||||
cd $SH_DIR/$PKGNAME
|
||||
exec_build_dpkg
|
||||
@ -1 +1 @@
|
||||
Subproject commit 800220bc897d24ac703c248a28e652947c290f32
|
||||
Subproject commit 3f2958d1fa02213a4c7403740d30bdcce459ae83
|
||||
Loading…
Reference in New Issue
Block a user