summaryrefslogtreecommitdiffstats
path: root/fedora-live-base.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-base.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-base.ks')
-rw-r--r--fedora-live-base.ks2
1 files changed, 2 insertions, 0 deletions
diff --git a/fedora-live-base.ks b/fedora-live-base.ks
index 0043756..ac929c8 100644
--- a/fedora-live-base.ks
+++ b/fedora-live-base.ks
@@ -309,6 +309,8 @@ rm -f /var/lib/rpm/__db*
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
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*
# go ahead and pre-make the man -k cache (#455968)
/usr/bin/mandb