mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
wic: use INITRD_LIVE in isoimage-isohybrid
INITRD variable is not set if hddimg is disabled. isoimage-isohybrid can't get correct name for initrd if INITRD variable is not set. Added INITRD_LIVE to WICVARS and used it in isoimage-isohybrid code to get initrd artifact name. Used INITRD if INITRD_LIVE is not set. (From OE-Core rev: c672753be60550b15d5d593c251b61776d5b104d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
02dafba6ed
commit
a508cb384c
@@ -144,7 +144,7 @@ class IsoImagePlugin(SourcePlugin):
|
||||
Create path for initramfs image
|
||||
"""
|
||||
|
||||
initrd = get_bitbake_var("INITRD")
|
||||
initrd = get_bitbake_var("INITRD_LIVE") or get_bitbake_var("INITRD")
|
||||
if not initrd:
|
||||
initrd_dir = get_bitbake_var("DEPLOY_DIR_IMAGE")
|
||||
if not initrd_dir:
|
||||
|
||||
Reference in New Issue
Block a user