summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-11-02 16:55:27 +0000
committerOlivier Blin <oblin@mandriva.com>2007-11-02 16:55:27 +0000
commit3691204b9676f2b5a4df0b4cafa2d057243e0abd (patch)
treec8b1b454d1570e374f723f5a73841cd406eb576d
parentb1ff2e17bb090cf5180aaee597331d592ff61288 (diff)
downloaddraklive-3691204b9676f2b5a4df0b4cafa2d057243e0abd.tar
draklive-3691204b9676f2b5a4df0b4cafa2d057243e0abd.tar.gz
draklive-3691204b9676f2b5a4df0b4cafa2d057243e0abd.tar.bz2
draklive-3691204b9676f2b5a4df0b4cafa2d057243e0abd.tar.xz
draklive-3691204b9676f2b5a4df0b4cafa2d057243e0abd.zip
run postInstall after copying packages
-rwxr-xr-xdraklive6
1 files changed, 3 insertions, 3 deletions
diff --git a/draklive b/draklive
index 8d8a451..281f8cc 100755
--- a/draklive
+++ b/draklive
@@ -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