summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive3
1 files changed, 2 insertions, 1 deletions
diff --git a/draklive b/draklive
index 4e399db..57d05f9 100755
--- a/draklive
+++ b/draklive
@@ -988,6 +988,8 @@ sub get_disk_replicator_files {
'/usr/lib/drakx-installer-images/isolinux/alt0/all.rdz' => $initrd,
'/usr/lib/drakx-installer-rescue/rescue.sqfs' => '/install/stage2/',
get_disk_image_path($live) => '/images/',
+ #- FIXME: factorize with copy_files_to to handle glob
+ (map { $live->{settings}{config_root} . '/' . $_->[0] => $_->[1] } @{$live->{replicator}{files} || []}),
);
}
@@ -1031,7 +1033,6 @@ sub record_usb_replicator {
}
output_p($live->{mnt} . "/images/list", "EN,English," . basename(get_disk_image_path($live)) . ",on\n");
- copy_files_to($live, $live->{replicator}{files}, $live->{mnt});
run_('umount', $live->{mnt});
maybe_umount_device($device);