generic/fedora-20-cloud.ks generic/fedora-20.ks generic/fedora-20-minimal.ks

Matthew Miller mattdm at fedoraproject.org
Tue Sep 17 20:51:07 UTC 2013


 generic/fedora-20-cloud.ks   |    3 +++
 generic/fedora-20-minimal.ks |    3 +++
 generic/fedora-20.ks         |    3 +++
 3 files changed, 9 insertions(+)

New commits:
commit fb103de1c544d7a497440d5657db3673d2c863c9
Author: Matthew Miller <mattdm at mattdm.org>
Date:   Tue Sep 17 15:50:42 2013 -0500

    clean a few more scraps from initial yum transaction

diff --git a/generic/fedora-20-cloud.ks b/generic/fedora-20-cloud.ks
index b6e0016..cda0edf 100644
--- a/generic/fedora-20-cloud.ks
+++ b/generic/fedora-20-cloud.ks
@@ -242,6 +242,9 @@ echo "Removing random-seed so it's not the same in every image."
 rm -f /var/lib/random-seed
 
 echo "Cleaning old yum repodata."
+rm -rf /var/lib/yum/yumdb/*
+rm -rf /var/lib/yum/history/*
+yum history new
 yum clean all
 truncate -c -s 0 /var/log/yum.log
 
diff --git a/generic/fedora-20-minimal.ks b/generic/fedora-20-minimal.ks
index e8e446d..fb4aeca 100644
--- a/generic/fedora-20-minimal.ks
+++ b/generic/fedora-20-minimal.ks
@@ -205,6 +205,9 @@ mv /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl
 
 echo "Cleaning old yum repodata."
 yum clean all
+rm -rf /var/lib/yum/yumdb/*
+rm -rf /var/lib/yum/history/*
+yum history new
 truncate -c -s 0 /var/log/yum.log
 
 echo "Fixing SELinux contexts."
diff --git a/generic/fedora-20.ks b/generic/fedora-20.ks
index 4ae6a85..ab5d30b 100644
--- a/generic/fedora-20.ks
+++ b/generic/fedora-20.ks
@@ -188,6 +188,9 @@ echo "Removing random-seed so it's not the same in every image."
 rm -f /var/lib/random-seed
 
 echo "Cleaning old yum repodata."
+rm -rf /var/lib/yum/yumdb/*
+rm -rf /var/lib/yum/history/*
+yum history new
 yum clean all
 truncate -c -s 0 /var/log/yum.log
 




More information about the cloud mailing list