From 8741f9087d6f707321f9b87c667c62fd507e22bb Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Fri, 23 Sep 2016 15:21:57 +0000 Subject: Fix meta-netboot build on Minnowboard Max after migration to Krogoth 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 --- meta-netboot/classes/netboot.bbclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'meta-netboot/classes') diff --git a/meta-netboot/classes/netboot.bbclass b/meta-netboot/classes/netboot.bbclass index 63014ff96..753ef79e3 100644 --- a/meta-netboot/classes/netboot.bbclass +++ b/meta-netboot/classes/netboot.bbclass @@ -9,9 +9,10 @@ python () { 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("INITRD_IMAGE",True), + d.getVar("INITRD_IMAGE_LIVE",True), d.getVar("MACHINE",True) )) else: -- cgit 1.2.3-korg