summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMing Liu <peter.x.liu@external.atlascopco.com>2015-11-13 14:10:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-27 11:27:01 +0000
commit755627cdbe32ef1b46692669f8aba981d626a0e7 (patch)
tree3fb476de19227a864990975753aafd10f503a3df
parent5f9feffe4cc4c1c084ab266382460e0b8f37e023 (diff)
downloadopenembedded-core-contrib-755627cdbe32ef1b46692669f8aba981d626a0e7.tar.gz
openembedded-core-contrib-755627cdbe32ef1b46692669f8aba981d626a0e7.tar.bz2
openembedded-core-contrib-755627cdbe32ef1b46692669f8aba981d626a0e7.zip
image-vm.bbclass: uses IMAGE_LINK_NAME
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>
-rw-r--r--meta/classes/image-vm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image-vm.bbclass b/meta/classes/image-vm.bbclass
index 5ddd1cb274..575a4b7ffe 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