Keep dnf history otherwise it breaks dnf.

Trying to use dnf in the latest rawhide container compose fails
with a RuntimeError: Statement: no such table: trans_item in

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2019-07-31 20:23:41 +02:00
parent a82cbd1567
commit 6d9047adf4

View File

@ -47,9 +47,6 @@ umount /run
systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true
rm /run/nologin # https://pagure.io/atomic-wg/issue/316
# Remove some dnf info
rm -rfv /var/lib/dnf
# if you want to change the timezone, bind-mount it from the host or reinstall tzdata
# Work around waiting for a tzdata-minimal package see https://bugzilla.redhat.com/show_bug.cgi?id=1733452
rm -fv /etc/localtime