summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2010-08-30 16:48:49 +0000
committerOlivier Blin <oblin@mandriva.com>2010-08-30 16:48:49 +0000
commit52b51fd431bd2d34608fcb7d1c0e66616b494f01 (patch)
tree67fad215c70c58098c3112268acc0e116e6b9aab
parent8c011f7700d275d03c3767859fe26df81a8385a4 (diff)
downloaddraklive-52b51fd431bd2d34608fcb7d1c0e66616b494f01.tar
draklive-52b51fd431bd2d34608fcb7d1c0e66616b494f01.tar.gz
draklive-52b51fd431bd2d34608fcb7d1c0e66616b494f01.tar.bz2
draklive-52b51fd431bd2d34608fcb7d1c0e66616b494f01.tar.xz
draklive-52b51fd431bd2d34608fcb7d1c0e66616b494f01.zip
allow to record CD-Rom replicator
-rwxr-xr-xdraklive5
-rw-r--r--lib/MDV/Draklive/Storage.pm1
2 files changed, 6 insertions, 0 deletions
diff --git a/draklive b/draklive
index 4aa7a7f..acc96c0 100755
--- a/draklive
+++ b/draklive
@@ -934,6 +934,11 @@ sub record_cdrom_master {
record_cdrom_path($live, get_cdrom_master_path($live, $opts), $opts);
}
+sub record_cdrom_replicator {
+ my ($live, $opts) = @_;
+ record_cdrom_path($live, get_cdrom_replicator_path($live), $opts);
+}
+
sub rsync_delete_options {
my ($opts) = @_;
$opts->{keep_files} ? () : '--delete';
diff --git a/lib/MDV/Draklive/Storage.pm b/lib/MDV/Draklive/Storage.pm
index ff2842b..3b16467 100644
--- a/lib/MDV/Draklive/Storage.pm
+++ b/lib/MDV/Draklive/Storage.pm
@@ -16,6 +16,7 @@ our %storage_types = (
record_needs_master => 1,
record => \&main::record_cdrom_master,
replicator => \&main::create_cdrom_replicator,
+ record_replicator => \&main::record_cdrom_replicator,
},
usb => {
modules => 'bus/usb disk/usb',