-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
UX Tweaks [2/2] #600
UX Tweaks [2/2] #600
Commits on Aug 5, 2019
-
config-gui: add optional param to set file_selector title
Signed-off-by: Matt DeVillier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ca3069 - Browse repository at this point
Copy the full SHA 5ca3069View commit details -
config-gui: add optional param to bypass menu
Add optional parameter to bypass menu selection and immediately select a menu option. This allows us to call the 'Set Boot Device' option directly, saving the user an unnecessary step. Signed-off-by: Matt DeVillier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3439403 - Browse repository at this point
Copy the full SHA 3439403View commit details -
config-gui: filter out invalid boot device options
use similar filtering logic as with USB drives to provide the user a more sane list of boot device options. Show user only valid bootable partitions, not block devices. There's no point in showing /dev/nvme0 and /dev/nvme0n1 (eg) when /dev/nvme0n1p[1..n] (eg) exist, as the former are not valid boot devices. Signed-off-by: Matt DeVillier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c982be5 - Browse repository at this point
Copy the full SHA c982be5View commit details -
gui-init: don't reboot after updating TOTP/HOTP
Updating TOTP/HOTP is mainly necessary after a user updates their firmware, and no need to force another reboot. Signed-off-by: Matt DeVillier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 258783e - Browse repository at this point
Copy the full SHA 258783eView commit details -
gui-init: use direct boot device selection
If the boot device is invalid or unabled to be mounted and the user opts to select a new boot device, jump directly to that menu option and avoid the additional step of showing the config main menu. Signed-off-by: Matt DeVillier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0690c8c - Browse repository at this point
Copy the full SHA 0690c8cView commit details -
config-gui: add 'Full Reset' option
Add Full Reset option to clear all GPG keys and user settings, both from the local filesystem and running firmware, and clear/reset the TPM Signed-off-by: Matt DeVillier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 928f003 - Browse repository at this point
Copy the full SHA 928f003View commit details -
gpg_flash_rom(): ensure files exist before adding to CBFS
Check that any files added to cbfs exist before attempting to add them, so flashing doesn't fail after a reset. Signed-off-by: Matt DeVillier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 29f89ae - Browse repository at this point
Copy the full SHA 29f89aeView commit details -
kecec_select_boot: default to Y when setting new boot option
Next prompt will be to ensure GPG key is attached, which defaults to Y, so default here as well for consistency Signed-off-by: Matt DeVillier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ff3849 - Browse repository at this point
Copy the full SHA 5ff3849View commit details -
confirm_gpg_card: prompt for retry on detection failure
Initial card detection can sometimes fail, so prompt the user to remove/reinsert their GPG card before retrying. Since errexit is likely set, disable it prior to calling --card-status so we can handle the error ourself, then re-set if necessary when done. Signed-off-by: Matt DeVillier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c33209a - Browse repository at this point
Copy the full SHA c33209aView commit details -
gpg_add_key_reflash: handle user cancellation
if user chooses abort option, exit without flashing ROM Signed-off-by: Matt DeVillier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8e1032 - Browse repository at this point
Copy the full SHA e8e1032View commit details -
flash.sh: persist serial in cbfs
Librem devices store their serial number as a text file in cbfs; persist this across flashes. Signed-off-by: Matt DeVillier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a27affc - Browse repository at this point
Copy the full SHA a27affcView commit details