summaryrefslogtreecommitdiffstats
path: root/draklive-install
diff options
context:
space:
mode:
Diffstat (limited to 'draklive-install')
-rwxr-xr-xdraklive-install8
1 files changed, 4 insertions, 4 deletions
diff --git a/draklive-install b/draklive-install
index 0b7f157..ec6bc84 100755
--- a/draklive-install
+++ b/draklive-install
@@ -100,6 +100,10 @@ fs::partitioning::choose_partitions_to_format($in, $fstab);
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);
+run_program::run('makedev', $::prefix . '/dev');
+
#- copy to disk
my $wait = $in->wait_message('', N("Computing total size"));
my $total = first(split(/\s+/, `du -sbx / 2>/dev/null`));
@@ -131,10 +135,6 @@ open(my $OUTPUT, '-|', build_copy_command('/', $::prefix));
undef $update_progress;
undef $wait;
-#- create required directories and devices (early to have a consistent root before calling other programs)
-mkdir_p($::prefix . $_) foreach qw(/dev /etc /proc /sys);
-run_program::run('makedev', $::prefix . '/dev');
-
my $real_rpm_dir = "/tmp/rpm/real";
cp_f(glob($real_rpm_dir . "/*"), $::prefix . "/var/lib/rpm") if -d $real_rpm_dir;