Use trusted.gpg.d instead of apt-key
This commit is contained in:
parent
cc8f695b9a
commit
231487d9d6
2 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,7 @@ else
|
|||
rm -f "${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache"
|
||||
fi
|
||||
|
||||
on_chroot apt-key add - < files/raspberrypi.gpg.key
|
||||
cat files/raspberrypi.gpg.key | gpg --dearmor > "${ROOTFS_DIR}/etc/apt/trusted.gpg.d/raspberrypi-archive-stable.gpg"
|
||||
on_chroot << EOF
|
||||
apt-get update
|
||||
apt-get dist-upgrade -y
|
||||
|
|
1
stage0/00-configure-apt/01-packages
Normal file
1
stage0/00-configure-apt/01-packages
Normal file
|
@ -0,0 +1 @@
|
|||
raspberrypi-archive-keyring
|
Loading…
Reference in a new issue