aboutsummaryrefslogtreecommitdiffstats
path: root/meta-netboot
diff options
context:
space:
mode:
Diffstat (limited to 'meta-netboot')
-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: