efibootdude 0.5__py3-none-any.whl → 0.5.2__py3-none-any.whl

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.

efibootdude/main.py CHANGED
@@ -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,20 +1,18 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: efibootdude
3
- Version: 0.5
3
+ Version: 0.5.2
4
4
  Summary: A visual wrapper for efibootmgr
5
- Author-email: Joe Defen <joedef@duck.com>
6
- License: MIT
7
- Project-URL: Homepage, https://github.com/joedefen/efibootdude
8
- Project-URL: Bug Tracker, https://github.com/joedefen/efibootdude/issues
9
5
  Keywords: app,installer,manager,appimages
6
+ Author-email: Joe Defen <joedef@duck.com>
7
+ Requires-Python: >=3.8
8
+ Description-Content-Type: text/markdown
10
9
  Classifier: Programming Language :: Python :: 3
11
10
  Classifier: License :: OSI Approved :: MIT License
12
11
  Classifier: Operating System :: POSIX :: Linux
13
- Requires-Python: >=3.8
14
- Description-Content-Type: text/markdown
15
12
  License-File: LICENSE
16
- Requires-Dist: psutil >=5.9
17
- Requires-Dist: importlib-metadata ; python_version < "3.8"
13
+ Requires-Dist: importlib-metadata; python_version<"3.8"
14
+ Project-URL: Bug Tracker, https://github.com/joedefen/efibootdude/issues
15
+ Project-URL: Homepage, https://github.com/joedefen/efibootdude
18
16
 
19
17
  # EfiBootDude
20
18
  `efibootdude` presents a visual (curses) interface to `efibootmgr` which allows editing the bios
@@ -56,9 +54,12 @@ At this point
56
54
  active by typing `*` for the corresponding entries.
57
55
  * Press `ESC` key to abandon any changes and reload the boot information.
58
56
  * 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
57
  * When writing the changes, `efibootdude` drops out of menu mode so you can
61
58
  verify the underlying commands, error codes, and error messages.
59
+ * After you write changes, type `b` to reboot, if you wish and the boot menu looks OK.
60
+ * BTW, the top-line keys vary per context; e.g.:
61
+ * `w` is only shown with pending changes, and
62
+ * `b` is only shown w/o pending changes.
62
63
 
63
64
  ## Caveats
64
65
  * Some operations may not work permanently even though there is no indication from `efibootmgr`
@@ -71,3 +72,4 @@ This project was inspired by [Elinvention/efiboots](https://github.com/Elinventi
71
72
  * to be easier to install especially when not in your distro's repos.
72
73
  * to clearly present the partition of the boot entries (as a mount point if mounted and, otherwise, the device pathname).
73
74
  * to show the underlying commands being run for education, for verification, and for help on investigating issues.
75
+
@@ -0,0 +1,8 @@
1
+ efibootdude/PowerWindow.py,sha256=pQGXsAMeuiHn-vtEiVG0rgW1eCslh3ukC-VrPhH_j3k,28587
2
+ efibootdude/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ efibootdude/main.py,sha256=9JPvlmo2Hashth6J81c2HGsSRrVcHBPOmbm3ddKqo7w,18980
4
+ efibootdude-0.5.2.dist-info/entry_points.txt,sha256=fEWgu5PCoFABQglVGX60g0oifNe8VWX_IcY86xmrXBk,53
5
+ efibootdude-0.5.2.dist-info/licenses/LICENSE,sha256=qB9OdnyyF6WYHiEIXVm0rOSdcf8e2ctorrtWs6CC5lU,1062
6
+ efibootdude-0.5.2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
7
+ efibootdude-0.5.2.dist-info/METADATA,sha256=LxH78m99yPvH7IgB9ai1cdJV9GBbMTmKS7HR09rEITQ,3707
8
+ efibootdude-0.5.2.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (70.1.1)
2
+ Generator: flit 3.12.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
-
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ efibootdude=efibootdude.main:main
3
+
@@ -1,9 +0,0 @@
1
- efibootdude/PowerWindow.py,sha256=pQGXsAMeuiHn-vtEiVG0rgW1eCslh3ukC-VrPhH_j3k,28587
2
- efibootdude/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- efibootdude/main.py,sha256=Z9zPAY3GIY_8JE9COr71WrXBOZvJRGCgsfZPGpffyEQ,18789
4
- efibootdude-0.5.dist-info/LICENSE,sha256=qB9OdnyyF6WYHiEIXVm0rOSdcf8e2ctorrtWs6CC5lU,1062
5
- efibootdude-0.5.dist-info/METADATA,sha256=0keU5nYypIDiMUlVD94XKkF5k-NcStNTO5ChJTnxUPg,3584
6
- efibootdude-0.5.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
7
- efibootdude-0.5.dist-info/entry_points.txt,sha256=3KZ_86ZSy4f-weuSruTlMGaQ96jZUm7mjyITVnjE184,54
8
- efibootdude-0.5.dist-info/top_level.txt,sha256=BrMsK3JmOrVJUNkHX1dicqWrdjbm4itRtmXJMxte-VU,12
9
- efibootdude-0.5.dist-info/RECORD,,
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- efibootdude = efibootdude.main:main
@@ -1 +0,0 @@
1
- efibootdude