diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-10-28 19:36:42 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-10-28 19:36:42 +0000 |
commit | 9195da04c23579f9116148dec82eecebf8deb9b6 (patch) | |
tree | 276973c9f3b9cae109ff5ea1acb9622f6960f4ba | |
parent | 128105ca71cfbc31fda5841114a5c4854dd5cd98 (diff) | |
download | draklive-install-9195da04c23579f9116148dec82eecebf8deb9b6.tar draklive-install-9195da04c23579f9116148dec82eecebf8deb9b6.tar.gz draklive-install-9195da04c23579f9116148dec82eecebf8deb9b6.tar.bz2 draklive-install-9195da04c23579f9116148dec82eecebf8deb9b6.tar.xz draklive-install-9195da04c23579f9116148dec82eecebf8deb9b6.zip |
Avoid creating unwanted mount points in the live system.
With a persistent live system, this can cause problems on subsequent
installs, although the previous commit also mitigates against that.
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | draklive-install | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,4 @@ +- avoid creating unwanted mount points in live system - avoid copying inactive mount points - increase window size when display size is > 800x600 (mga#23435) - revert to rebooting after completing install from boot menu diff --git a/draklive-install b/draklive-install index c830d5b..69d1b7b 100755 --- a/draklive-install +++ b/draklive-install @@ -353,7 +353,11 @@ sub setup_bootloader { any::setupBootloaderBeforeStandalone($in->do_pkgs, $bootloader, $all_hds, $fstab); undef $_wait; local $::Wizard_no_previous = 0; - any::setupBootloaderUntilInstalled($in, $bootloader, $all_hds, $fstab, $ENV{SECURE_LEVEL}); + #- don't use any::setupBootloaderUntilInstalled - it creates unwanted mount + #- points in the live system + do { + any::setupBootloader($in, $bootloader, $all_hds, $fstab, $ENV{SECURE_LEVEL}) or $in->exit; + } while !any::installBootloader($in, $bootloader, $all_hds); sync_logs(); } |