summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-02-20 13:38:36 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-02-20 13:38:36 +0000
commitc059e2e0a75788dd418069db0e37b6301bf526ed (patch)
tree3f85ecc0d964b58671dbc82694e66833b8dc73d7 /tools
parent985bb3423b6b3456ef767635387aceb06723eb5b (diff)
downloaddrakx-backup-do-not-use-c059e2e0a75788dd418069db0e37b6301bf526ed.tar
drakx-backup-do-not-use-c059e2e0a75788dd418069db0e37b6301bf526ed.tar.gz
drakx-backup-do-not-use-c059e2e0a75788dd418069db0e37b6301bf526ed.tar.bz2
drakx-backup-do-not-use-c059e2e0a75788dd418069db0e37b6301bf526ed.tar.xz
drakx-backup-do-not-use-c059e2e0a75788dd418069db0e37b6301bf526ed.zip
(post_install_system) explain
Diffstat (limited to 'tools')
-rwxr-xr-xtools/draklive3
1 files changed, 2 insertions, 1 deletions
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')\"");