From c6112064c0dce552572ee26616e4c3f80fb5d438 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 12 Dec 2013 04:15:28 -0600 Subject: [PATCH] import the gpg key since live and cloud is --- fedora-arm-base.ks | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/fedora-arm-base.ks b/fedora-arm-base.ks index 6428787..d7e1261 100644 --- a/fedora-arm-base.ks +++ b/fedora-arm-base.ks @@ -50,6 +50,16 @@ uboot-wandboard_quad %post +# work around for poor key import UI in PackageKit +rm -f /var/lib/rpm/__db* +releasever=$(rpm -q --qf '%{version}\n' fedora-release) +basearch=armhfp +rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch +echo "Packages within this LiveCD" +rpm -qa +# Note that running rpm recreates the rpm db files which aren't needed or wanted +rm -f /var/lib/rpm/__db* + # Because memory is scarce resource in most arm systems we are differing from the Fedora # default of having /tmp on tmpfs. echo "Disabling tmpfs for /tmp."