From a64968d57f64031295552d97d958f6edbcb7387a Mon Sep 17 00:00:00 2001 From: Natalia Serrano Date: Fri, 27 Jun 2025 11:31:09 +0200 Subject: [PATCH] refs #2343 don't check call to updateBootCache --- CHANGELOG.md | 12 +++++++++--- ogclient/lib/python3/BootLib.py | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 064b6fb..73e6a01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,17 +5,23 @@ 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.22.2] - 2025-06-27 + +### Fixed + +- Don't check rc of updateBootCache.py because we may have no cache partition + ## [0.22.1] - 2025-06-27 -### Fixed +### Fixed - Included some changes that should be in the previous version ## [0.22.0] - 2025-06-26 -### Changed +### Changed -- Changed torrent client from ctorrent to aria2c +- Changed torrent client from ctorrent to aria2c - Updated ogCreateTorrent function replaced ctorrent with mktorrent ## [0.21.1] - 2025-06-26 diff --git a/ogclient/lib/python3/BootLib.py b/ogclient/lib/python3/BootLib.py index 6df6439..cbc21e7 100644 --- a/ogclient/lib/python3/BootLib.py +++ b/ogclient/lib/python3/BootLib.py @@ -701,7 +701,7 @@ def ogGrubInstallMbr (disk, par, checkos='FALSE', kernelparam=''): prefixsecondstage = '' # Reactivamos el grub con el grub.cfg original. else: # SI Reconfigurar segunda etapa (grub.cfg) == TRUE #llamada a updateBootCache para que aloje la primera fase del ogLive - subprocess.run ([f'{ogGlobals.OGSCRIPTS}/updateBootCache.py'], check=True) + subprocess.run ([f'{ogGlobals.OGSCRIPTS}/updateBootCache.py']) if InventoryLib.ogIsEfiActive(): # UEFI: grubSintax necesita grub.cfg para detectar los kernels: si no existe recupero backup.