diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-11-02 16:55:27 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-11-02 16:55:27 +0000 |
commit | 3691204b9676f2b5a4df0b4cafa2d057243e0abd (patch) | |
tree | c8b1b454d1570e374f723f5a73841cd406eb576d /draklive | |
parent | b1ff2e17bb090cf5180aaee597331d592ff61288 (diff) | |
download | drakiso-3691204b9676f2b5a4df0b4cafa2d057243e0abd.tar drakiso-3691204b9676f2b5a4df0b4cafa2d057243e0abd.tar.gz drakiso-3691204b9676f2b5a4df0b4cafa2d057243e0abd.tar.bz2 drakiso-3691204b9676f2b5a4df0b4cafa2d057243e0abd.tar.xz drakiso-3691204b9676f2b5a4df0b4cafa2d057243e0abd.zip |
run postInstall after copying packages
Diffstat (limited to 'draklive')
-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 |