Drop use of deprecated apt-key.

This commit is contained in:
Steve Langasek 2022-09-21 16:08:36 -07:00
parent 3722d2ee58
commit e41c6f50df
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -4,6 +4,7 @@ livecd-rootfs (2.781) UNRELEASED; urgency=medium
multiverse is historic, all firmware is now in restricted where it
should be; and raspi images should not categorically include universe,
they should follow the per-flavor rules.
* Drop use of deprecated apt-key.
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 21 Sep 2022 13:26:30 -0700

View File

@ -432,7 +432,7 @@ deb file:/var/lib/preinstalled-pool/ $LB_DISTRIBUTION $LB_PARENT_ARCHIVE_AREAS
chroot/var/lib/preinstalled-pool/dists/$R_CODENAME/Release
mv config/gnupg/Release.asc \
chroot/var/lib/preinstalled-pool/dists/$R_CODENAME/Release.gpg
apt-key --keyring chroot/etc/apt/trusted.gpg add config/gnupg/pubring.gpg
cp config/gnupg/pubring.gpg chroot/etc/apt/trusted.gpg.d/livecd-rootfs.gpg
find chroot/var/lib/preinstalled-pool/ -name Packages | xargs rm
Chroot chroot "apt-get update"