From 52818123d1acee1490345557c6bfe34a231afb70 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 6 May 2008 15:30:01 -0400 Subject: [PATCH] remove db env before importing keys (Hey, makes the image smaller, too!) --- config/livecd-fedora-9-base-desktop.ks | 1 + config/livecd-fedora-base-desktop.ks | 1 + 2 files changed, 2 insertions(+) diff --git a/config/livecd-fedora-9-base-desktop.ks b/config/livecd-fedora-9-base-desktop.ks index 70d4162..0b21d9a 100644 --- a/config/livecd-fedora-9-base-desktop.ks +++ b/config/livecd-fedora-9-base-desktop.ks @@ -201,6 +201,7 @@ chmod 755 /etc/rc.d/init.d/fedora-late-live /sbin/chkconfig --add fedora-late-live # work around for poor key import UI in PackageKit +rm -f /var/lib/rpm/__db* rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora # save a little bit of space at least... diff --git a/config/livecd-fedora-base-desktop.ks b/config/livecd-fedora-base-desktop.ks index 48b2745..ad5ec32 100644 --- a/config/livecd-fedora-base-desktop.ks +++ b/config/livecd-fedora-base-desktop.ks @@ -200,6 +200,7 @@ chmod 755 /etc/rc.d/init.d/fedora-late-live /sbin/chkconfig --add fedora-late-live # work around for poor key import UI in PackageKit +rm -f /var/lib/rpm/__db* rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora # save a little bit of space at least... -- 2.11.4.GIT