From c059e2e0a75788dd418069db0e37b6301bf526ed Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 20 Feb 2006 13:38:36 +0000 Subject: (post_install_system) explain --- tools/draklive | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/draklive b/tools/draklive index 8c534a3c4..434195643 100755 --- a/tools/draklive +++ b/tools/draklive @@ -467,7 +467,8 @@ sub post_install_system { each_index { !defined $_ and die "unable to find file " . $live->{system}{patches}[$::i] } @patches; run_('patch', '-p0', '-s', '-N', '-F', 0, '-d', get_system_root($live), '-r', '/tmp', '-i', $_) foreach @patches; - #- make sure harddrake is run + #- make sure harddrake is run: + # (if previous HW config file is empty, we assumes DrakX has just completed the installation) #- (do it in chroot, or else Storable from the build box may write an incompatible config file) system("chroot " . get_system_root($live) . " " . "perl -MStorable -e \"Storable::store({ UNKNOWN => {} }, '/etc/sysconfig/harddrake2/previous_hw')\""); -- cgit v1.2.1