Merge pull request 'refs #2287 fix efi path' (#65) from fix-path into main
ogclient/pipeline/head This commit looks good Details
ogclient/pipeline/tag This commit looks good Details

Reviewed-on: #65
boot-mark-linux-only 0.19.1
Natalia Serrano 2025-06-23 16:28:48 +02:00
commit 7cefe8ff43
2 changed files with 7 additions and 1 deletions

View File

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.19.1] - 2025-06-23
### Fixed
- Fixed path of EFI boot entry
## [0.19.0] - 2025-06-23
### Changed

View File

@ -174,7 +174,7 @@ def ogBoot (disk, par, nvramperm=False, params=''):
# Crear orden de arranque (con unos valores por defecto).
l = re.sub ('^.*EFI(.*)$', r'\1', loader)
UEFILib.ogNvramAddEntry (bootlabel, l, nvramperm)
UEFILib.ogNvramAddEntry (bootlabel, '/EFI'+l, nvramperm)
# Marcar próximo arranque y reiniciar.
UEFILib.ogNvramSetNext (bootlabel)
subprocess.run (['reboot'])