aboutsummaryrefslogtreecommitdiffstats
path: root/meta-netboot/classes/netboot.bbclass
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-09-23 15:21:57 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-09-26 02:03:32 +0000
commit8741f9087d6f707321f9b87c667c62fd507e22bb (patch)
tree6e8a20201dba492bfa95a345e63f61b4fedbc7e1 /meta-netboot/classes/netboot.bbclass
parent75ee644a3344fb2f3bf5bd8733b387064c3e11f4 (diff)
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 <stephane.desneux@iot.bzh>
Diffstat (limited to 'meta-netboot/classes/netboot.bbclass')
-rw-r--r--meta-netboot/classes/netboot.bbclass5
1 files changed, 3 insertions, 2 deletions
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: