优化自动构建

This commit is contained in:
2024-09-01 07:11:25 +08:00
parent 399401d917
commit c74e8d30cb
3 changed files with 12 additions and 2 deletions
@@ -27,9 +27,17 @@ else
fi fi
fi fi
sudo debootstrap --arch=$1 $2 $bottlePath $5 sudo debootstrap --arch=$1 $2 $bottlePath $5
if [[ $? != 0 ]] && [[ $1 == loong64 ]]; then
sudo apt install squashfs-tools git -y
wget https://github.com/GXDE-OS/GXDE/releases/download/resources/debian-base-loong64.squashfs
sudo unsquashfs debian-base-loong64.squashfs
sudo rm -rf $bottlePath/
sudo mv squashfs-root $bottlePath -v
fi
sudo bash .github/workflows/pardus-chroot $bottlePath sudo bash .github/workflows/pardus-chroot $bottlePath
# 配置 git # 配置 git
sudo chroot $bottlePath apt update sudo chroot $bottlePath apt update
sudo chroot $bottlePath apt full-upgrade -y
sudo chroot $bottlePath apt install git -y sudo chroot $bottlePath apt install git -y
sudo chroot $bottlePath git clone $3 --depth=1 sudo chroot $bottlePath git clone $3 --depth=1
sudo chroot $bottlePath git clone $4 --depth=1 sudo chroot $bottlePath git clone $4 --depth=1
+2 -2
View File
@@ -1,8 +1,8 @@
gxde (2024.08.29) UNRELEASED; urgency=medium gxde (2024.08.31) UNRELEASED; urgency=medium
* Non-maintainer upload. * Non-maintainer upload.
-- gfdgd_xi <3025613752@qq.com> Thu, 29 Aug 2024 08:42:17 +0800 -- gfdgd_xi <3025613752@qq.com> Sun, 01 Sep 2024 07:11:11 +0800
gxde (2024.03.23) stable; urgency=medium gxde (2024.03.23) stable; urgency=medium
+2
View File
@@ -20,6 +20,8 @@ Depends: ${misc:Depends},
gxde-download, gxde-download,
gxde-ocr, gxde-ocr,
gxde-music, gxde-music,
gxde-picker,
gxde-font-installer,
deepin-movie deepin-movie
Description: GXDE New Desktop Environment Extra - Next Description: GXDE New Desktop Environment Extra - Next
This is a meta package depends GXDE New Desktop Envrionment Extra. This is a meta package depends GXDE New Desktop Envrionment Extra.