diff --git a/CHANGELOG.md b/CHANGELOG.md index 0813a27..39dfc5e 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). +## [1.7.1] - 2025-10-02 + +### Fixed + +- Allow to create images in regular ogLive (not ogLiveAdmin) + ## [1.7.0] - 2025-09-29 ### Added diff --git a/ogclient/interfaceAdm/CrearImagen b/ogclient/interfaceAdm/CrearImagen index c313597..189c878 100755 --- a/ogclient/interfaceAdm/CrearImagen +++ b/ogclient/interfaceAdm/CrearImagen @@ -73,7 +73,7 @@ if 'REPO' == repo or ogCheckIpAddress (repo): sys.exit (1) # Si el destino es REPO y el cliente no está en modo "admin"; activar repositorio para escritura, -if 'REPO' == repo and 'admin' != env_boot: +if 'admin' != env_boot: retval = subprocess.run ([f'{dirname}/CambiarAcceso', 'admin']).returncode if retval: sys.exit (retval) diff --git a/ogclient/lib/python3/GitLib/__init__.py b/ogclient/lib/python3/GitLib/__init__.py index b3fed26..653107d 100755 --- a/ogclient/lib/python3/GitLib/__init__.py +++ b/ogclient/lib/python3/GitLib/__init__.py @@ -546,6 +546,9 @@ class OpengnsysGitLibrary: def _efi_copy(self, root_directory, system_specific = False, config_name = None): meta_dir = os.path.join(root_directory, ".opengnsys-metadata") boot_device = self.fs.find_boot_device() + if boot_device is None: + self.logger.warning("Not copying EFI--boot_device is None") + return boot_mount = self.fs.find_mountpoint(boot_device) efi_files_dir = ""