* [PATCH v2] wic/plugins/bootimg-efi-isar: Use initrd from source params
@ 2024-02-01 11:03 Quirin Gylstorff
2024-02-06 8:08 ` Uladzimir Bely
0 siblings, 1 reply; 2+ messages in thread
From: Quirin Gylstorff @ 2024-02-01 11:03 UTC (permalink / raw)
To: felix.moessbauer, ubely, isar-users
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
This fixes the issue that you can add a initrd with the source params
but it will still boot the initial initrd.
Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
Changes v2:
- simplify assignment
meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py b/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py
index b934d0c7..4bfb70a0 100644
--- a/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py
+++ b/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py
@@ -185,7 +185,10 @@ class BootimgEFIPlugin(SourcePlugin):
title = source_params.get('title')
+ temp_initrd = initrd
kernel, initrd = isar_get_filenames(get_bitbake_var("IMAGE_ROOTFS"))
+ if temp_initrd:
+ initrd = temp_initrd
boot_conf = ""
boot_conf += "title %s\n" % (title if title else "boot")
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] wic/plugins/bootimg-efi-isar: Use initrd from source params
2024-02-01 11:03 [PATCH v2] wic/plugins/bootimg-efi-isar: Use initrd from source params Quirin Gylstorff
@ 2024-02-06 8:08 ` Uladzimir Bely
0 siblings, 0 replies; 2+ messages in thread
From: Uladzimir Bely @ 2024-02-06 8:08 UTC (permalink / raw)
To: Quirin Gylstorff, felix.moessbauer, isar-users
On Thu, 2024-02-01 at 12:03 +0100, Quirin Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>
> This fixes the issue that you can add a initrd with the source params
> but it will still boot the initial initrd.
>
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> ---
>
> Changes v2:
> - simplify assignment
Applied to next, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-06 8:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-01 11:03 [PATCH v2] wic/plugins/bootimg-efi-isar: Use initrd from source params Quirin Gylstorff
2024-02-06 8:08 ` Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox