From 6d9047adf48353241cc903121caed886facc7239 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Wed, 31 Jul 2019 20:23:41 +0200 Subject: [PATCH] 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 --- fedora-container-base.ks | 3 --- 1 file changed, 3 deletions(-) diff --git a/fedora-container-base.ks b/fedora-container-base.ks index 11590fc..7cda3ba 100644 --- a/fedora-container-base.ks +++ b/fedora-container-base.ks @@ -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