The live images use now INITRD_IMAGE_LIVE and INITRD_LIVE variables to
specify the name for the initramfs image to build and add to hdd image.
Change-Id: I5593e0cb978db8e9cecb283804c9c6e65a34a57f
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
if (bb.utils.contains("IMAGE_FSTYPES","live",True,False,d)):
# typical case for Minnowboard Max
d.setVar("INITRD_IMAGE","initramfs-netboot-image")
if (bb.utils.contains("IMAGE_FSTYPES","live",True,False,d)):
# typical case for Minnowboard Max
d.setVar("INITRD_IMAGE","initramfs-netboot-image")
- d.setVar("INITRD","%s/%s-%s.ext4.gz" % (
+ d.setVar("INITRD_IMAGE_LIVE",d.getVar("INITRD_IMAGE",True))
+ d.setVar("INITRD_LIVE","%s/%s-%s.ext4.gz" % (
d.getVar("DEPLOY_DIR_IMAGE",True),
d.getVar("DEPLOY_DIR_IMAGE",True),
- d.getVar("INITRD_IMAGE",True),
+ d.getVar("INITRD_IMAGE_LIVE",True),
d.getVar("MACHINE",True)
))
else:
d.getVar("MACHINE",True)
))
else: