summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-09-25 18:20:31 +0000
committerOlivier Blin <oblin@mandriva.com>2008-09-25 18:20:31 +0000
commit8f3e77d8c3173184abfbba3cd7461fcc440c0cb2 (patch)
tree4568c0613558e162bc838e02b992a0246c986f82
parent6961d760166ff0f48cd9dc31f241739699ca182f (diff)
downloaddrakiso-8f3e77d8c3173184abfbba3cd7461fcc440c0cb2.tar
drakiso-8f3e77d8c3173184abfbba3cd7461fcc440c0cb2.tar.gz
drakiso-8f3e77d8c3173184abfbba3cd7461fcc440c0cb2.tar.bz2
drakiso-8f3e77d8c3173184abfbba3cd7461fcc440c0cb2.tar.xz
drakiso-8f3e77d8c3173184abfbba3cd7461fcc440c0cb2.zip
allow to customize replicator append in live->{replicator}{append}
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 0b2c07a..86f4fe0 100755
--- a/draklive
+++ b/draklive
@@ -1691,7 +1691,7 @@ sub create_usb_replicator {
my %files = get_disk_replicator_files($live);
my $size = fold_left { $::a + $::b } map { directory_usage($_) } keys(%files);
my $loop = allocate_master($dest, 3000000 + $size, 'vfat');
- my $opts = { device => $loop, disk_device => $dest };
+ my $opts = { device => $loop, disk_device => $dest, append => $live->{replicator}{append} };
record_usb_replicator($live, $opts);
run_('losetup', '-d', $loop);
}