diff options
author | Olivier Blin <oblin@mandriva.com> | 2010-08-30 16:48:49 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2010-08-30 16:48:49 +0000 |
commit | 52b51fd431bd2d34608fcb7d1c0e66616b494f01 (patch) | |
tree | 67fad215c70c58098c3112268acc0e116e6b9aab | |
parent | 8c011f7700d275d03c3767859fe26df81a8385a4 (diff) | |
download | draklive-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-x | draklive | 5 | ||||
-rw-r--r-- | lib/MDV/Draklive/Storage.pm | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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', |