diff options
-rwxr-xr-x | draklive | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -793,15 +793,15 @@ sub post_install_system { copy_files_to($live, $live->{system}{files}, get_system_root($live)); - run_({ setarch => $live->{settings}{arch} }, - "chroot", get_system_root($live), "bash", "-c", $live->{system}{postInstall}) if $live->{system}{postInstall}; - eval { rm_rf(get_builddir($live) . $live->{prefix}{build}{files}) }; mkdir_p(get_builddir($live) . $live->{prefix}{build}{files}); if ($live->{media}{files}) { copy_files_to($live, $live->{media}{files}, get_builddir($live) . $live->{prefix}{build}{files}); } + run_({ setarch => $live->{settings}{arch} }, + "chroot", get_system_root($live), "bash", "-c", $live->{system}{postInstall}) if $live->{system}{postInstall}; + 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 |