new commit
This commit is contained in:
parent
e595b5353f
commit
f54d77f13c
@ -164,7 +164,7 @@ def create_initramfs(rootfs_path, boot_path, target_architecture, xbps_commands,
|
|||||||
logger.info("=> Starting initramfs creation...")
|
logger.info("=> Starting initramfs creation...")
|
||||||
logger.info("=> Creating initramfs using dracut...")
|
logger.info("=> Creating initramfs using dracut...")
|
||||||
|
|
||||||
kernel_versions = get_kernel_version_in_chroot(rootfs_path, iso_build_config)
|
kernel_versions = get_kernel_version_in_chroot(rootfs_path, target_architecture, iso_build_config)
|
||||||
if not kernel_versions or 'version_final_part' not in kernel_versions:
|
if not kernel_versions or 'version_final_part' not in kernel_versions:
|
||||||
logger.error("=> ERROR: Could not obtain kernel version to create the initramfs.")
|
logger.error("=> ERROR: Could not obtain kernel version to create the initramfs.")
|
||||||
raise ValueError("Could not obtain kernel version.")
|
raise ValueError("Could not obtain kernel version.")
|
||||||
|
Loading…
Reference in New Issue
Block a user