From dbc0f8f610bf5b57d619f36707e2ca21b21431db Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 23 Oct 2018 14:17:27 +0200 Subject: [PATCH] prepare-root.sh: rpmdb --- prepare-root.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/prepare-root.sh b/prepare-root.sh index 4da1bf6..b5dde04 100755 --- a/prepare-root.sh +++ b/prepare-root.sh @@ -718,6 +718,7 @@ chroot "$sysroot" update-ca-trust # var rm -fr "$sysroot"/var/lib/selinux rm -fr "$sysroot"//usr/lib/fontconfig/cache +cp -avr "$sysroot"/var/lib/rpm "$STATEDIR"/ rm -fr "$sysroot"/var/lib/rpm rm -fr "$sysroot"/var/lib/sepolgen rm -fr "$sysroot"/var/lib/dnf