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 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 diff --git a/fedora-livecd-soas.ks b/fedora-livecd-soas.ks index ccd4104..eb00ac3 100644 --- a/fedora-livecd-soas.ks +++ b/fedora-livecd-soas.ks @@ -107,6 +107,8 @@ libertas-usb8388-firmware KERNEL_VERSION=$(rpm -q kernel --qf '%{version}-%{release}.%{arch}\n') /usr/sbin/plymouth-set-default-theme sugar /sbin/dracut -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION +# Note that running rpm recreates the rpm db files which aren't needed or wanted +rm -f /var/lib/rpm/__db* # Get proper release naming in the control panel cat >> /boot/olpc_build << EOF