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