summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-29 09:21:37 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-29 09:21:37 +0000
commit9574aeb64558c3a7e5ca978f669df6141ef1f3fb (patch)
tree73736a58a4805a26df8b2b3ca0dfd1944f61bccd /lib/MDV/Draklive
parent25fff02452b64a389eac5fc255a6135af0d018b6 (diff)
downloaddrakiso-9574aeb64558c3a7e5ca978f669df6141ef1f3fb.tar
drakiso-9574aeb64558c3a7e5ca978f669df6141ef1f3fb.tar.gz
drakiso-9574aeb64558c3a7e5ca978f669df6141ef1f3fb.tar.bz2
drakiso-9574aeb64558c3a7e5ca978f669df6141ef1f3fb.tar.xz
drakiso-9574aeb64558c3a7e5ca978f669df6141ef1f3fb.zip
use functions from main namespace for now...
Diffstat (limited to 'lib/MDV/Draklive')
-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,
},
);