diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-01-10 09:01:33 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-01-10 09:01:33 +0000 |
commit | 98ac027245772b49c24b1bbe35b0f33e6551c3e8 (patch) | |
tree | f4ccc642c22d944e3ea54dbd7cc08a930bd1cfe3 /draklive | |
parent | 57060f5254e48a9eead04426803d4f102f2b0a4b (diff) | |
download | drakiso-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-x | draklive | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |