summaryrefslogtreecommitdiffstats
path: root/lib/MDV
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MDV')
-rw-r--r--lib/MDV/Draklive/Storage.pm22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/MDV/Draklive/Storage.pm b/lib/MDV/Draklive/Storage.pm
index d6ac136..b5a5504 100644
--- a/lib/MDV/Draklive/Storage.pm
+++ b/lib/MDV/Draklive/Storage.pm
@@ -11,10 +11,10 @@ our %storage_types = (
source => 'LABEL=MDVCDROOT',
read_only => 1,
detect => \&detect_devices::burners,
- create => \&create_cdrom_master,
- format => \&format_cdrom_device,
+ create => \&main::create_cdrom_master,
+ format => \&main::format_cdrom_device,
record_needs_master => 1,
- record => \&record_cdrom_master,
+ record => \&main::record_cdrom_master,
},
usb => {
modules => 'bus/usb disk/usb',
@@ -24,17 +24,17 @@ our %storage_types = (
bootloader => 'grub',
source => 'LABEL=MDVUSBROOT',
detect => sub { grep { detect_devices::isKeyUsb($_) } detect_devices::get() },
- create => \&create_disk_master,
- format => \&format_usb_device,
- record => \&record_usb_master,
- image => \&create_disk_image,
- replicator => \&create_usb_replicator,
+ create => \&main::create_disk_master,
+ format => \&main::format_usb_device,
+ record => \&main::record_usb_master,
+ image => \&main::create_disk_image,
+ replicator => \&main::create_usb_replicator,
},
harddisk => {
fs => 'ext3',
- create => \&create_disk_master,
- record => \&record_harddisk_master,
- image => \&create_disk_image,
+ create => \&main::create_disk_master,
+ record => \&main::record_harddisk_master,
+ image => \&main::create_disk_image,
},
);