diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-04-02 19:55:30 +0100 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-04-02 19:55:30 +0100 |
commit | 54fcb97d173520e44ef5441176fe7e39153eb3c5 (patch) | |
tree | 1d297c08642db0547c539a7f4b0c3d98b187facc /lib/MGA/DrakISO/Config.pm | |
parent | 76abcd91020a70f9b90a0b0748b0128efaebddf9 (diff) | |
download | drakiso-54fcb97d173520e44ef5441176fe7e39153eb3c5.tar drakiso-54fcb97d173520e44ef5441176fe7e39153eb3c5.tar.gz drakiso-54fcb97d173520e44ef5441176fe7e39153eb3c5.tar.bz2 drakiso-54fcb97d173520e44ef5441176fe7e39153eb3c5.tar.xz drakiso-54fcb97d173520e44ef5441176fe7e39153eb3c5.zip |
Simplify use of predefined mounts and add default mount type.
Diffstat (limited to 'lib/MGA/DrakISO/Config.pm')
-rw-r--r-- | lib/MGA/DrakISO/Config.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/MGA/DrakISO/Config.pm b/lib/MGA/DrakISO/Config.pm index 84363fb..5995bda 100644 --- a/lib/MGA/DrakISO/Config.pm +++ b/lib/MGA/DrakISO/Config.pm @@ -83,6 +83,8 @@ 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); } |