From: Ming Liu Date: Fri, 13 Nov 2015 13:10:14 +0000 (+0100) Subject: image-vm.bbclass: uses IMAGE_LINK_NAME X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27875 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=755627cdbe32ef1b46692669f8aba981d626a0e7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git image-vm.bbclass: uses IMAGE_LINK_NAME Uses ${IMAGE_LINK_NAME} instead of ${IMAGE_BASENAME}-${MACHINE}. Signed-off-by: Ming Liu Signed-off-by: Ross Burton --- diff --git a/meta/classes/image-vm.bbclass b/meta/classes/image-vm.bbclass index 5ddd1cb2741..575a4b7ffe8 100644 --- a/meta/classes/image-vm.bbclass +++ b/meta/classes/image-vm.bbclass @@ -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