summaryrefslogtreecommitdiffstats
path: root/lib/MGA/DrakISO/Config.pm
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-04-08 08:53:35 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-04-15 22:06:36 +0100
commit7c0cab87133acd7df0084f495b3d4f52fbf2dc9b (patch)
tree3d09465e7fdb83c2e322c3f11d6cf202ca5f09b5 /lib/MGA/DrakISO/Config.pm
parenta6451ba864ca95299cbfded9d7b04d9001961ebb (diff)
downloaddrakiso-7c0cab87133acd7df0084f495b3d4f52fbf2dc9b.tar
drakiso-7c0cab87133acd7df0084f495b3d4f52fbf2dc9b.tar.gz
drakiso-7c0cab87133acd7df0084f495b3d4f52fbf2dc9b.tar.bz2
drakiso-7c0cab87133acd7df0084f495b3d4f52fbf2dc9b.tar.xz
drakiso-7c0cab87133acd7df0084f495b3d4f52fbf2dc9b.zip
Remove obsolute support for different mount and loopback options.
The dracut-generated initrd doesn't support them.
Diffstat (limited to 'lib/MGA/DrakISO/Config.pm')
-rw-r--r--lib/MGA/DrakISO/Config.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/MGA/DrakISO/Config.pm b/lib/MGA/DrakISO/Config.pm
index 5995bda..32c18cf 100644
--- a/lib/MGA/DrakISO/Config.pm
+++ b/lib/MGA/DrakISO/Config.pm
@@ -30,9 +30,6 @@ use MDK::Common;
use Pod::Usage;
use Cwd qw(abs_path);
-#- these modules can be used from config files
-use MGA::DrakISO::Mounts;
-
use Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(read_config check_config complete_config dump_config);
@@ -72,8 +69,6 @@ sub check_config {
#- check for minimum requirements
$build->{settings}{arch}
or die "ERROR: you must specify an architecture\n";
- $build->{media}{storage}
- or die "ERROR: you must specify the media storage type\n";
$build->{media}{label}
or die "ERROR: you must supply a media label\n";
}
@@ -83,8 +78,6 @@ sub complete_config {
$build->{settings}{workdir} = abs_path($build->{settings}{workdir} || '.');
- $build->{mount} ||= volatile_squash_union();
-
mkdir_p($build->get_build_dir);
mkdir_p($build->get_chroot_dir);
}