container/container-medium-19.ks | 2 +- container/container-medium-20.ks | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) New commits: commit 8e496ed47904b5fe6a5fcf099d8e53a2c7b6f90a Author: Matthew Miller <mattdm@xxxxxxxxxx> Date: Wed Sep 18 15:53:17 2013 -0500 kludge for yum history new segfaulting on first run after i mangle its db diff --git a/container/container-medium-19.ks b/container/container-medium-19.ks index 8b06283..2a311fb 100644 --- a/container/container-medium-19.ks +++ b/container/container-medium-19.ks @@ -116,7 +116,7 @@ echo "Cleaning old yum repodata." yum clean all rm -rf /var/lib/yum/yumdb/* rm -rf /var/lib/yum/history/* -yum history new +yum history new || yum history new truncate -c -s 0 /var/log/yum.log echo "Fixing SELinux contexts." diff --git a/container/container-medium-20.ks b/container/container-medium-20.ks index c0599e5..5cec913 100644 --- a/container/container-medium-20.ks +++ b/container/container-medium-20.ks @@ -116,7 +116,7 @@ echo "Cleaning old yum repodata." yum clean all rm -rf /var/lib/yum/yumdb/* rm -rf /var/lib/yum/history/* -yum history new +yum history new || yum history new truncate -c -s 0 /var/log/yum.log echo "Fixing SELinux contexts." _______________________________________________ cloud mailing list cloud@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/cloud Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct