summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-11-26 15:03:48 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2017-11-26 15:03:48 +0000
commit342062431ecd45a074a58ff8f1a2117241dba44a (patch)
treeb22b4e0da2f9a42dd71357ba468ee03cfa7da132 /lib
parentb42500157ca26d602072c0515d0810aadd8bfb12 (diff)
downloaddrakiso-342062431ecd45a074a58ff8f1a2117241dba44a.tar
drakiso-342062431ecd45a074a58ff8f1a2117241dba44a.tar.gz
drakiso-342062431ecd45a074a58ff8f1a2117241dba44a.tar.bz2
drakiso-342062431ecd45a074a58ff8f1a2117241dba44a.tar.xz
drakiso-342062431ecd45a074a58ff8f1a2117241dba44a.zip
draklive2: change storage type from 'cdrom' to 'iso'.
Just for clarity - there's no functional change.
Diffstat (limited to 'lib')
-rw-r--r--lib/MDV/Draklive/Storage.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/MDV/Draklive/Storage.pm b/lib/MDV/Draklive/Storage.pm
index 3b16467..0bf1fa9 100644
--- a/lib/MDV/Draklive/Storage.pm
+++ b/lib/MDV/Draklive/Storage.pm
@@ -3,6 +3,14 @@ package MDV::Draklive::Storage;
use detect_devices;
our %storage_types = (
+ iso => {
+ modules => 'bus/firewire|usb disk/firewire|hardware_raid|ide|sata|scsi|usb',
+ fs => 'iso9660',
+ can_hide => 0,
+ source => 'LABEL=MDVISOROOT',
+ read_only => 1,
+ create => \&main::create_iso_master,
+ },
cdrom => {
modules => 'bus/firewire|usb disk/firewire|hardware_raid|ide|sata|scsi|usb',
media_modules => 'disk/cdrom',