summaryrefslogtreecommitdiffstats
path: root/fedora-live-mini.ks
diff options
context:
space:
mode:
authorBruno Wolff III <bruno@wolff.to>2011-01-26 00:51:41 -0600
committerBruno Wolff III <bruno@wolff.to>2011-01-26 00:51:41 -0600
commit60096ceccebe4542e972dbbf877427a850ba3268 (patch)
tree20661e26e046a4c55c508771e553fe96369621e0 /fedora-live-mini.ks
parentc1b6a08450cb40e96bdc7825213162e82f9157c4 (diff)
downloadspin-kickstarts-60096ceccebe4542e972dbbf877427a850ba3268.tar.gz
spin-kickstarts-60096ceccebe4542e972dbbf877427a850ba3268.tar.xz
spin-kickstarts-60096ceccebe4542e972dbbf877427a850ba3268.zip
Need to remove rpm db files after running rpm in the post section.
Diffstat (limited to 'fedora-live-mini.ks')
-rw-r--r--fedora-live-mini.ks2
1 files changed, 2 insertions, 0 deletions
diff --git a/fedora-live-mini.ks b/fedora-live-mini.ks
index 3f522a4..7bbe5b9 100644
--- a/fedora-live-mini.ks
+++ b/fedora-live-mini.ks
@@ -374,6 +374,8 @@ chmod 755 /etc/rc.d/init.d/livesys-late
# 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
+# Note that running rpm recreates the rpm db files which aren't needed or wanted
+rm -f /var/lib/rpm/__db*
# go ahead and pre-make the man -k cache (#455968)
/usr/bin/mandb