Skip to content

Commit 0eda833

Browse files
committed
CI ARM debootstrap: do not check sigs
not really needed (the risk is low) and so remove to simplify (--no-check-gpg is --no-check-sigs in newer debootstrap versions)
1 parent b93c6d1 commit 0eda833

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/arm-build.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,10 @@ jobs:
2020
include:
2121
- arch: armhf
2222
repo: http://mirrordirector.raspbian.org/raspbian/
23-
keyring: /etc/apt/trusted.gpg
2423
qemu_bin_arch: arm
2524
deb_release: bullseye
2625
- arch: arm64
2726
repo: https://deb.debian.org/debian
28-
keyring: /usr/share/keyrings/debian-archive-keyring.gpg
2927
qemu_bin_arch: aarch64
3028
deb_release: bullseye
3129

@@ -66,12 +64,11 @@ jobs:
6664
- name: Debootstrap
6765
if: steps.cache-bootstrap.outputs.cache-hit != 'true'
6866
run: |
69-
sudo apt install debootstrap debian-archive-keyring
67+
sudo apt install debootstrap
7068
sudo rm -rf ~/chroot
7169
sudo mkdir -p ~/chroot/var/tmp
7270
sudo mv /var/tmp/*NDI* ~/chroot/var/tmp
73-
wget http://archive.raspbian.org/raspbian.public.key -O - | sudo apt-key add -q
74-
sudo debootstrap --keyring=${{ matrix.keyring }} --arch ${{ matrix.arch }} ${{ matrix.deb_release }} ~/chroot ${{ matrix.repo }}
71+
sudo debootstrap --no-check-gpg --arch ${{ matrix.arch }} ${{ matrix.deb_release }} ~/chroot ${{ matrix.repo }}
7572
sudo cp -r $GITHUB_WORKSPACE/.github ~/chroot/
7673
sudo cp /usr/bin/qemu-${{ matrix.qemu_bin_arch }}-static ~/chroot/usr/bin/
7774
sudo -EH chroot ~/chroot /.github/scripts/Linux/arm/bootstrap.sh ${{ matrix.arch }}

0 commit comments

Comments
 (0)