From 98ac027245772b49c24b1bbe35b0f33e6551c3e8 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Wed, 10 Jan 2018 09:01:33 +0000 Subject: draklive: set default mount configuration if user hasn't specified it. --- draklive | 3 +++ 1 file changed, 3 insertions(+) (limited to 'draklive') 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; -- cgit v1.2.1