diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-18 23:13:49 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-18 23:13:49 +0000 |
commit | 7f97b53ea0cadced2321414a2b7054a4811eda6f (patch) | |
tree | f0121a7ecd1cdf31e95a376b7cda14692880df97 /lib/MGA/DrakISO/Storage.pm | |
parent | fce42d85023e9e0cbd3b7fbd98ff3b734814612a (diff) | |
download | drakiso-7f97b53ea0cadced2321414a2b7054a4811eda6f.tar drakiso-7f97b53ea0cadced2321414a2b7054a4811eda6f.tar.gz drakiso-7f97b53ea0cadced2321414a2b7054a4811eda6f.tar.bz2 drakiso-7f97b53ea0cadced2321414a2b7054a4811eda6f.tar.xz drakiso-7f97b53ea0cadced2321414a2b7054a4811eda6f.zip |
Remove unused code.
Diffstat (limited to 'lib/MGA/DrakISO/Storage.pm')
-rw-r--r-- | lib/MGA/DrakISO/Storage.pm | 45 |
1 files changed, 1 insertions, 44 deletions
diff --git a/lib/MGA/DrakISO/Storage.pm b/lib/MGA/DrakISO/Storage.pm index 9949e76..b949731 100644 --- a/lib/MGA/DrakISO/Storage.pm +++ b/lib/MGA/DrakISO/Storage.pm @@ -2,54 +2,11 @@ package MGA::DrakISO::Storage; use strict; -use detect_devices; - our %storage_types = ( iso => { - modules => 'bus/firewire|usb disk/firewire|hardware_raid|ide|sata|scsi|usb', - fs => 'iso9660', - source => 'LABEL=MGAISOROOT', - 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', fs => 'iso9660', - can_hide => 0, - source => 'LABEL=MGACDROOT', read_only => 1, - detect => \&detect_devices::burners, - create => \&main::create_cdrom_master, - format => \&main::format_cdrom_device, - 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', - media_modules => 'disk/raw', - fs => 'vfat', - can_hide => 1, - bootloader => 'grub', - source => 'LABEL=MGAUSBROOT', - detect => sub { grep { detect_devices::isKeyUsb($_) } detect_devices::get() }, - create => \&main::create_disk_master, - format => \&main::format_disk, - record => \&main::record_usb_master, - image => \&main::create_disk_image, - replicator => \&main::create_usb_replicator, - record_replicator => \&main::record_usb_replicator, - }, - harddisk => { - fs => 'ext4', - bootloader => 'grub', - source => 'LABEL=MGAROOT', - create => \&main::create_disk_master, - format => \&main::format_disk, - record => \&main::record_harddisk_master, - image => \&main::create_disk_image, + source => 'LABEL=MGAISOROOT', }, ); |