Drop use of deprecated apt-key.

ubuntu/kinetic
Steve Langasek 2 years ago
parent 3722d2ee58
commit e41c6f50df

1
debian/changelog vendored

@ -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

@ -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"

Loading…
Cancel
Save