新增backport构建

This commit is contained in:
2024-10-12 23:00:01 +08:00
parent a71814cba5
commit 7a81a14647
3 changed files with 202 additions and 0 deletions
@@ -36,6 +36,9 @@ if [[ $? != 0 ]] && [[ $1 == loong64 ]]; then
sudo mv squashfs-root $bottlePath -v
fi
sudo bash .github/workflows/pardus-chroot $bottlePath
if [[ $5 == "backport" ]]; then
sudo cp -rv .github/workflows/debian-backports.list $bottlePath/etc/apt/sources.list.d
fi
# 配置 git
sudo chroot $bottlePath apt update
sudo chroot $bottlePath apt full-upgrade -y