summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-01-10 09:01:33 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-01-10 09:01:33 +0000
commit98ac027245772b49c24b1bbe35b0f33e6551c3e8 (patch)
treef4ccc642c22d944e3ea54dbd7cc08a930bd1cfe3 /draklive
parent57060f5254e48a9eead04426803d4f102f2b0a4b (diff)
downloaddrakiso-98ac027245772b49c24b1bbe35b0f33e6551c3e8.tar
drakiso-98ac027245772b49c24b1bbe35b0f33e6551c3e8.tar.gz
drakiso-98ac027245772b49c24b1bbe35b0f33e6551c3e8.tar.bz2
drakiso-98ac027245772b49c24b1bbe35b0f33e6551c3e8.tar.xz
drakiso-98ac027245772b49c24b1bbe35b0f33e6551c3e8.zip
draklive: set default mount configuration if user hasn't specified it.
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive3
1 files changed, 3 insertions, 0 deletions
diff --git a/draklive b/draklive
index 63ff7f4..046daac 100755
--- a/draklive
+++ b/draklive
@@ -31,6 +31,7 @@ use Pod::Usage;
use MGA::DrakISO::Config;
use MGA::DrakISO::LiveBuild;
+use MGA::DrakISO::Mounts;
use MGA::DrakISO::Utils;
use MGA::DrakISO::BuildRoot;
@@ -115,6 +116,8 @@ require standalone;
MGA::DrakISO::Config::check_config($build_object);
MGA::DrakISO::Config::complete_config($build_object);
+ $build_object->{mount} ||= MGA::DrakISO::Mounts::volatile_squash_union();
+
foreach my $region ($build_object->{all_regions} ? sort(keys %{$build_object->{regions}}) : $build_object->{settings}{region}) {
$region and print qq(=== proceeding with region "$region"\n);
$build_object->{settings}{region} = $region;