Gross hack to reinstall the moblin-ppa-keyring package after the trusted

db is put back in place since otherwise we miss the GPG key we wanted.
ubuntu/precise
Loïc Minier 15 years ago
parent 97f8ebd117
commit 106b4d3868

2
debian/changelog vendored

@ -10,6 +10,8 @@ livecd-rootfs (0.99) UNRELEASED; urgency=low
deb lines and having an useful comment in sources.list.
* Create an etc/apt/preferences file Pin-ing the PPA at 550 when there's
one.
* Gross hack to reinstall the moblin-ppa-keyring package after the trusted
db is put back in place since otherwise we miss the GPG key we wanted.
-- Loïc Minier <loic.minier@ubuntu.com> Thu, 24 Sep 2009 11:52:25 +0200

@ -517,6 +517,12 @@ Pin-Priority: 550
fi
mv ${ROOT}etc/apt/trusted.gpg.$$ ${ROOT}etc/apt/trusted.gpg
# gross hack to re-register the GPG key
if [ "$FS" = "ubuntu-moblin-remix" ]; then
chroot $ROOT apt-get -y --force-yes install --reinstall ubuntu-moblin-ppa-keyring
chroot $ROOT apt-get update
fi
# get rid of the .debs - we don't need them.
chroot ${ROOT} apt-get clean
rm -f ${ROOT}var/lib/apt/lists/*_*

Loading…
Cancel
Save