Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI / Boot Device Tweaks #791

Merged
merged 3 commits into from
Aug 6, 2020
Merged

Conversation

MrChromebox
Copy link
Contributor

  • remove double-prompt for checksum update
  • Fix eval of DEV_NUM_PARTITIONS on empty drives
  • Improve handling of boot device selection in config_gui

Not need to prompt the user twice for the same action

Signed-off-by: Matt DeVillier <[email protected]>
Using 'let' in these scripts fails when evaluating to zero
for some reason, so replace with '$(())' which works as intended.

Test: Boot device selection menu shown properly when
new/unpartitioned drive installed.

Signed-off-by: Matt DeVillier <[email protected]>
When a new /boot device is selected, wait until after
successfully mounting the newly-selected device before
updating CONFIG_BOOT_DEV.

Also, don't assume /boot already mounted, as this can cause
a false failure and prevent mounting of the newly-selected device.

Lastly, tidy up the error output in case mounting /boot fails.

Signed-off-by: Matt DeVillier <[email protected]>
@tlaurion tlaurion merged commit 3aa919a into linuxboot:master Aug 6, 2020
@MrChromebox MrChromebox deleted the gui_boot_tweaks branch October 21, 2021 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants