efibootdude 0.5__tar.gz → 0.5.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of efibootdude might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: efibootdude
3
- Version: 0.5
3
+ Version: 0.5.1
4
4
  Summary: A visual wrapper for efibootmgr
5
5
  Author-email: Joe Defen <joedef@duck.com>
6
6
  License: MIT
@@ -56,9 +56,12 @@ At this point
56
56
  active by typing `*` for the corresponding entries.
57
57
  * Press `ESC` key to abandon any changes and reload the boot information.
58
58
  * When ready to write the changes to the BIOS, enter `w`.
59
- * When the changes look good, type `b` to reboot, if you wish.
60
59
  * When writing the changes, `efibootdude` drops out of menu mode so you can
61
60
  verify the underlying commands, error codes, and error messages.
61
+ * After you write changes, type `b` to reboot, if you wish and the boot menu looks OK.
62
+ * BTW, the top-line keys vary per context; e.g.:
63
+ * `w` is only shown with pending changes, and
64
+ * `b` is only shown w/o pending changes.
62
65
 
63
66
  ## Caveats
64
67
  * Some operations may not work permanently even though there is no indication from `efibootmgr`
@@ -38,9 +38,12 @@ At this point
38
38
  active by typing `*` for the corresponding entries.
39
39
  * Press `ESC` key to abandon any changes and reload the boot information.
40
40
  * When ready to write the changes to the BIOS, enter `w`.
41
- * When the changes look good, type `b` to reboot, if you wish.
42
41
  * When writing the changes, `efibootdude` drops out of menu mode so you can
43
42
  verify the underlying commands, error codes, and error messages.
43
+ * After you write changes, type `b` to reboot, if you wish and the boot menu looks OK.
44
+ * BTW, the top-line keys vary per context; e.g.:
45
+ * `w` is only shown with pending changes, and
46
+ * `b` is only shown w/o pending changes.
44
47
 
45
48
  ## Caveats
46
49
  * Some operations may not work permanently even though there is no indication from `efibootmgr`
@@ -55,7 +55,7 @@ build-backend = "setuptools.build_meta"
55
55
 
56
56
  [project]
57
57
  name = "efibootdude"
58
- version = "0.5"
58
+ version = "0.5.1"
59
59
  description = "A visual wrapper for efibootmgr"
60
60
  authors = [
61
61
  { name = "Joe Defen", email = "joedef@duck.com" }
@@ -358,7 +358,8 @@ class EfiBootDude:
358
358
  actions['m'] = 'modify'
359
359
  if self.mods.dirty:
360
360
  actions['w'] = 'write'
361
- actions['b'] = 'boot'
361
+ else:
362
+ actions['b'] = 'boot'
362
363
 
363
364
  return actions
364
365
 
@@ -500,6 +501,10 @@ class EfiBootDude:
500
501
  return None
501
502
 
502
503
  if key == ord('b'):
504
+ if self.mods.dirty:
505
+ self.win.alert('Pending changes (on return, use "w" to commit or "ESC" to discard)')
506
+ return
507
+
503
508
  answer = self.win.answer(prompt='Type "reboot" to reboot',
504
509
  seed='reboot', width=80)
505
510
  if answer.strip().lower().startswith('reboot'):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: efibootdude
3
- Version: 0.5
3
+ Version: 0.5.1
4
4
  Summary: A visual wrapper for efibootmgr
5
5
  Author-email: Joe Defen <joedef@duck.com>
6
6
  License: MIT
@@ -56,9 +56,12 @@ At this point
56
56
  active by typing `*` for the corresponding entries.
57
57
  * Press `ESC` key to abandon any changes and reload the boot information.
58
58
  * When ready to write the changes to the BIOS, enter `w`.
59
- * When the changes look good, type `b` to reboot, if you wish.
60
59
  * When writing the changes, `efibootdude` drops out of menu mode so you can
61
60
  verify the underlying commands, error codes, and error messages.
61
+ * After you write changes, type `b` to reboot, if you wish and the boot menu looks OK.
62
+ * BTW, the top-line keys vary per context; e.g.:
63
+ * `w` is only shown with pending changes, and
64
+ * `b` is only shown w/o pending changes.
62
65
 
63
66
  ## Caveats
64
67
  * Some operations may not work permanently even though there is no indication from `efibootmgr`
File without changes
File without changes