diff --git a/CHANGELOG.md b/CHANGELOG.md index 1af27f2..6657e58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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.15.3] - 2025-06-12 + +### Fixed + +- Create missing dir + ## [0.15.2] - 2025-06-11 ### Fixed diff --git a/ogclient/lib/python3/BootLib.py b/ogclient/lib/python3/BootLib.py index b8b677c..ac106b7 100644 --- a/ogclient/lib/python3/BootLib.py +++ b/ogclient/lib/python3/BootLib.py @@ -128,6 +128,7 @@ def ogBoot (disk, par, nvramperm=False, params=''): esp_dev = DiskLib.ogDiskToDev (efidisk, efipart) 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') # Crear orden de arranque (con unos valores por defecto).