summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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