Use trusted.gpg.d instead of apt-key

This commit is contained in:
Serge Schneider 2022-01-13 15:39:22 +00:00
parent cc8f695b9a
commit 231487d9d6
2 changed files with 2 additions and 1 deletions

View file

@ -12,7 +12,7 @@ else
rm -f "${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache" rm -f "${ROOTFS_DIR}/etc/apt/apt.conf.d/51cache"
fi 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 on_chroot << EOF
apt-get update apt-get update
apt-get dist-upgrade -y apt-get dist-upgrade -y

View file

@ -0,0 +1 @@
raspberrypi-archive-keyring