new commit
This commit is contained in:
parent
472d34eccc
commit
0e38ce88ca
@ -68,7 +68,7 @@ def copy_kernel_image(rootfs_path, boot_path, target_architecture, iso_build_con
|
|||||||
raise ValueError("Could not obtain kernel version.")
|
raise ValueError("Could not obtain kernel version.")
|
||||||
kernel_file_suffix = kernel_versions['version_final_part']
|
kernel_file_suffix = kernel_versions['version_final_part']
|
||||||
|
|
||||||
target_arch = iso_build_config.get('target_arch', 'x86_64').lower()
|
target_arch = target_architecture.lower()
|
||||||
|
|
||||||
if target_arch.startswith('i686') or target_arch == 'x86_64':
|
if target_arch.startswith('i686') or target_arch == 'x86_64':
|
||||||
kernel_filename_in_boot = "vmlinuz"
|
kernel_filename_in_boot = "vmlinuz"
|
||||||
|
Loading…
Reference in New Issue
Block a user