From 5f7714a6c2d3239fe582a185d9a432d0a3b70135 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sat, 12 Oct 2024 23:03:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbackport=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/building-deb-backport.yml | 8 ++++---- .../configure-building-enviroment-base-system.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/building-deb-backport.yml b/.github/workflows/building-deb-backport.yml index ea59c46..3d5e8c7 100755 --- a/.github/workflows/building-deb-backport.yml +++ b/.github/workflows/building-deb-backport.yml @@ -33,7 +33,7 @@ jobs: - name: Configure Base System run: | - bash .github/workflows/configure-building-enviroment-base-system.sh i386 bookworm $REPOSITORY https://github.com/$GITHUB_REPOSITORY backport + bash .github/workflows/configure-building-enviroment-base-system.sh i386 bookworm $REPOSITORY https://github.com/$GITHUB_REPOSITORY https://deb.debian.org/debian/ backport - name: Building ${{ GITHUB.repository }} run: | @@ -76,7 +76,7 @@ jobs: - name: Configure Base System run: | - bash .github/workflows/configure-building-enviroment-base-system.sh amd64 bookworm $REPOSITORY https://github.com/$GITHUB_REPOSITORY backport + bash .github/workflows/configure-building-enviroment-base-system.sh amd64 bookworm $REPOSITORY https://github.com/$GITHUB_REPOSITORY https://deb.debian.org/debian/ backport - name: Building ${{ GITHUB.repository }} run: | @@ -119,7 +119,7 @@ jobs: - name: Configure Base System run: | - bash .github/workflows/configure-building-enviroment-base-system.sh arm64 bookworm $REPOSITORY https://github.com/$GITHUB_REPOSITORY backport + bash .github/workflows/configure-building-enviroment-base-system.sh arm64 bookworm $REPOSITORY https://github.com/$GITHUB_REPOSITORY https://deb.debian.org/debian/ backport - name: Building ${{ GITHUB.repository }} run: | @@ -163,7 +163,7 @@ jobs: - name: Configure Base System run: | - bash .github/workflows/configure-building-enviroment-base-system.sh mips64el bookworm $REPOSITORY https://github.com/$GITHUB_REPOSITORY backport + bash .github/workflows/configure-building-enviroment-base-system.sh mips64el bookworm $REPOSITORY https://github.com/$GITHUB_REPOSITORY https://deb.debian.org/debian/ backport - name: Building ${{ GITHUB.repository }} run: | diff --git a/.github/workflows/configure-building-enviroment-base-system.sh b/.github/workflows/configure-building-enviroment-base-system.sh index f9aba8e..1718f72 100755 --- a/.github/workflows/configure-building-enviroment-base-system.sh +++ b/.github/workflows/configure-building-enviroment-base-system.sh @@ -36,7 +36,7 @@ if [[ $? != 0 ]] && [[ $1 == loong64 ]]; then sudo mv squashfs-root $bottlePath -v fi sudo bash .github/workflows/pardus-chroot $bottlePath -if [[ $5 == "backport" ]]; then +if [[ $6 == "backport" ]]; then sudo cp -rv .github/workflows/debian-backports.list $bottlePath/etc/apt/sources.list.d fi # 配置 git