refs #2204 create missing directory
parent
03f8203598
commit
857ebbd267
|
@ -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/),
|
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).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [0.15.3] - 2025-06-12
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Create missing dir
|
||||||
|
|
||||||
## [0.15.2] - 2025-06-11
|
## [0.15.2] - 2025-06-11
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -128,6 +128,7 @@ def ogBoot (disk, par, nvramperm=False, params=''):
|
||||||
|
|
||||||
esp_dev = DiskLib.ogDiskToDev (efidisk, efipart)
|
esp_dev = DiskLib.ogDiskToDev (efidisk, efipart)
|
||||||
esp_mntdir = esp_dev.replace ('dev', 'mnt')
|
esp_mntdir = esp_dev.replace ('dev', 'mnt')
|
||||||
|
os.makedirs (f'{esp_mntdir}/boot/grub', exists_ok=True)
|
||||||
shutil.copy2 (f'{esp_mntdir}/EFI/{bootlabel}/Boot/grub.cfg', f'{esp_mntdir}/boot/grub/grub.cfg')
|
shutil.copy2 (f'{esp_mntdir}/EFI/{bootlabel}/Boot/grub.cfg', f'{esp_mntdir}/boot/grub/grub.cfg')
|
||||||
|
|
||||||
# Crear orden de arranque (con unos valores por defecto).
|
# Crear orden de arranque (con unos valores por defecto).
|
||||||
|
|
Loading…
Reference in New Issue