summaryrefslogtreecommitdiffstats
path: root/draklive-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-28 22:26:24 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-28 22:26:24 +0000
commita4cd92d5c4bbee90077619ae38a380acf6d69622 (patch)
tree75625b06de7d309d88d1d5f5aee9815f5ca0bcfb /draklive-install
parent4e0e59e929b8e9c84628884c40b86030dd743329 (diff)
downloaddraklive-install-a4cd92d5c4bbee90077619ae38a380acf6d69622.tar
draklive-install-a4cd92d5c4bbee90077619ae38a380acf6d69622.tar.gz
draklive-install-a4cd92d5c4bbee90077619ae38a380acf6d69622.tar.bz2
draklive-install-a4cd92d5c4bbee90077619ae38a380acf6d69622.tar.xz
draklive-install-a4cd92d5c4bbee90077619ae38a380acf6d69622.zip
use fs::any::prepare_minimal_root to prepare root (so that /proc and /sys get mounted, for mkinitrd to succeed)
Diffstat (limited to 'draklive-install')
-rwxr-xr-xdraklive-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive-install b/draklive-install
index ec6bc84..19178fc 100755
--- a/draklive-install
+++ b/draklive-install
@@ -101,7 +101,7 @@ umount_all($fstab);
fs::partitioning::format_mount_partitions($in, $all_hds, $fstab);
#- create required directories and devices (early to have a consistent root before calling other programs)
-mkdir_p($::prefix . $_) foreach qw(/dev /etc /proc /sys);
+fs::any::prepare_minimal_root($all_hds);
run_program::run('makedev', $::prefix . '/dev');
#- copy to disk