From 8eb5dba9bcb68ab7002915500f739c480709c0c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 31 Jul 2015 02:15:10 +0200 Subject: [PATCH] liveusb: fix rpm key import; tmp.mount is already enabled --- conf/liveusb.ks | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/conf/liveusb.ks b/conf/liveusb.ks index 9f7843c..5b43ac0 100644 --- a/conf/liveusb.ks +++ b/conf/liveusb.ks @@ -37,9 +37,6 @@ qubes-live %post -# enable tmpfs for /tmp -systemctl enable tmp.mount - # make it so that we don't do writing to the overlay for things which # are just tmpdirs/caches # note https://bugzilla.redhat.com/show_bug.cgi?id=1135475 @@ -51,8 +48,8 @@ EOF # work around for poor key import UI in PackageKit rm -f /var/lib/rpm/__db* releasever=$(rpm -q --qf '%{version}\n' --whatprovides system-release) -basearch=$(uname -i) -rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch +rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-qubes-$releasever-primary +rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-20-primary echo "Packages within this LiveCD" rpm -qa # Note that running rpm recreates the rpm db files which aren't needed or wanted