prepare-root.sh: rpmdb

This commit is contained in:
Harald Hoyer 2018-10-23 14:17:27 +02:00
parent 88405feecc
commit dbc0f8f610

View file

@ -718,6 +718,7 @@ chroot "$sysroot" update-ca-trust
# var # var
rm -fr "$sysroot"/var/lib/selinux rm -fr "$sysroot"/var/lib/selinux
rm -fr "$sysroot"//usr/lib/fontconfig/cache 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/rpm
rm -fr "$sysroot"/var/lib/sepolgen rm -fr "$sysroot"/var/lib/sepolgen
rm -fr "$sysroot"/var/lib/dnf rm -fr "$sysroot"/var/lib/dnf