mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00: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
@@ -373,7 +373,7 @@ class Wic(oeSelfTest):
|
||||
wicvars = set(get_bb_var('WICVARS', image).split())
|
||||
# filter out optional variables
|
||||
wicvars = wicvars.difference(('HDDDIR', 'IMAGE_BOOT_FILES',
|
||||
'INITRD', 'ISODIR'))
|
||||
'INITRD', 'INITRD_LIVE', 'ISODIR'))
|
||||
with open(path) as envfile:
|
||||
content = dict(line.split("=", 1) for line in envfile)
|
||||
# test if variables used by wic present in the .env file
|
||||
|
||||
Reference in New Issue
Block a user