Set INITRAMFS_IMAGE instead of appending to it 55/6555/1
authorAnton Gerasimov <anton@advancedtelematic.com>
Wed, 14 Sep 2016 10:11:37 +0000 (12:11 +0200)
committerAnton Gerasimov <anton@advancedtelematic.com>
Wed, 14 Sep 2016 10:15:13 +0000 (12:15 +0200)
Bug-AGL: SPEC-250

Change-Id: I76fbc1d8674807c247bb4aaadd70d71a13097491
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
meta-netboot/classes/netboot.bbclass

index 0bb2452..63014ff 100644 (file)
@@ -15,7 +15,7 @@ python () {
                        d.getVar("MACHINE",True)
                ))
        else:
-               d.appendVar("INITRAMFS_IMAGE"," initramfs-netboot-image")
+               d.setVar("INITRAMFS_IMAGE","initramfs-netboot-image")
                if (d.getVar("KERNEL_IMAGETYPE",True) == "uImage"):
                        # case for "old" u-boot images, like Porter board
                        d.appendVar("INITRAMFS_FSTYPES"," ext4.gz.u-boot");