]> code.ossystems Code Review - openembedded-core.git/commitdiff
image-vm.bbclass: uses IMAGE_LINK_NAME
authorMing Liu <peter.x.liu@external.atlascopco.com>
Fri, 13 Nov 2015 13:10:14 +0000 (14:10 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Dec 2015 11:27:01 +0000 (11:27 +0000)
Uses ${IMAGE_LINK_NAME} instead of ${IMAGE_BASENAME}-${MACHINE}.

Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/image-vm.bbclass

index 5ddd1cb274134597838270b4555d10cfde6f275a..575a4b7ffe81670428244d000bd43f151d9f1063 100644 (file)
@@ -10,7 +10,7 @@ do_bootdirectdisk[depends] += "${@'${INITRD_IMAGE}:do_rootfs' if '${INITRD_IMAGE
 
 # need to define the dependency and the ROOTFS for directdisk
 do_bootdirectdisk[depends] += "${PN}:do_rootfs"
-ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext4"
+ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.ext4"
 
 # creating VM images relies on having a hddimg so ensure we inherit it here.
 inherit boot-directdisk