From 1648288c9f348aa41e7307a71da050a400a2e4cd Mon Sep 17 00:00:00 2001 From: Philip Date: Sun, 7 May 2017 22:08:33 +0200 Subject: [PATCH] [util-yaml] work on CAL#695 - see also: https://github.com/calamares/calamares/issues/695 --- lib/util-yaml.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/util-yaml.sh b/lib/util-yaml.sh index a4bd57c..0617d5c 100644 --- a/lib/util-yaml.sh +++ b/lib/util-yaml.sh @@ -238,6 +238,14 @@ write_postcfg_conf(){ fi } +write_umount_conf(){ + local conf="${modules_dir}/umount.conf" + msg2 "Writing %s ..." "${conf##*/}" + echo "---" > "$conf" + echo 'srcLog: "/root/.cache/Calamares/Calamares/Calamares.log"' >> "$conf" + echo 'destLog: "/var/log/Calamares.log"' >> "$conf" +} + get_yaml(){ local args=() yaml if ${chrootcfg};then @@ -325,7 +333,7 @@ write_settings_conf(){ echo " - grubcfg" >> "$conf" echo " - bootloader" >> "$conf" && write_bootloader_conf echo " - postcfg" >> "$conf" && write_postcfg_conf - echo " - umount" >> "$conf" + echo " - umount" >> "$conf" && write_umount_conf echo " - show:" >> "$conf" echo " - finished" >> "$conf" && write_finished_conf echo '' >> "$conf"