summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive3
1 files changed, 3 insertions, 0 deletions
diff --git a/draklive b/draklive
index 0a1798b..28084a8 100755
--- a/draklive
+++ b/draklive
@@ -801,6 +801,9 @@ sub post_install_system {
run_("chroot " . get_system_root($live) . " rpm -qa | sort > " . get_builddir($live) . "/packages.lst");
+ #- workaround rpm bug that leaves a corrupted rpm DB in chroot
+ rm_rf(glob_(get_builddir($live) . "/var/lib/rpm/__db.*"));
+
umask $previous_umask;
}