diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-10-03 22:31:32 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-10-03 22:31:32 +0000 |
commit | 9882eb22260c4c8a491c234cc1cc6f1c7e6acf34 (patch) | |
tree | 7f8cbd8bbf4d05728f2619d4916c11e12b4f8ce6 | |
parent | 62a3c7e4973ff9403785aaf9201cdc55a5b90e50 (diff) | |
download | drakiso-9882eb22260c4c8a491c234cc1cc6f1c7e6acf34.tar drakiso-9882eb22260c4c8a491c234cc1cc6f1c7e6acf34.tar.gz drakiso-9882eb22260c4c8a491c234cc1cc6f1c7e6acf34.tar.bz2 drakiso-9882eb22260c4c8a491c234cc1cc6f1c7e6acf34.tar.xz drakiso-9882eb22260c4c8a491c234cc1cc6f1c7e6acf34.zip |
workaround rpm bug that leaves a corrupted rpm DB in chroot
-rwxr-xr-x | draklive | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |