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 /draklive-install | |
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.
Diffstat (limited to 'draklive-install')
-rwxr-xr-x | draklive-install | 6 |
1 files changed, 5 insertions, 1 deletions
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(); } |