Fix rpi-sdimg after IMAGE_FSTYPE being enforced in poky-agl.conf
[AGL/meta-agl.git] / meta-netboot / classes / netboot.bbclass
index 3440914..c74c105 100644 (file)
@@ -17,9 +17,9 @@ python () {
                d.setVar("INITRAMFS_IMAGE","initramfs-netboot-image")
                if (d.getVar("KERNEL_IMAGETYPE",True) == "uImage"):
                        # case for "old" u-boot images, like Porter board
-                       d.setVar("INITRAMFS_FSTYPES_pn-initramfs-netboot-image", "ext4.gz.u-boot");
+                       d.setVar("NETBOOT_FSTYPES", "ext4.gz.u-boot");
                else:
                        # case for new u-boot images which don't require uImage format 
-                       d.setVar("INITRAMFS_FSTYPES_pn-initramfs-netboot-image", "ext4.gz");
+                       d.setVar("NETBOOT_FSTYPES", "ext4.gz");
 }