Skip to content

Commit

Permalink
upgrade_initramfs_gen: fix wrong field name on livemode config
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Hecko committed Aug 13, 2024
1 parent b901f2c commit 6f778dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def process():

with mounting.mount_upgrade_iso_to_root_dir(userspace_info.path, target_iso):
prepare_userspace_for_initram(context)
if livemode_config and livemode_config.enabled:
if livemode_config and livemode_config.is_enabled:
boot_file_info = prepare_boot_files_for_livemode(context)
else:
boot_file_info = generate_initram_disk(context)
Expand Down

0 comments on commit 6f778dd

Please sign in to comment.