diff options
author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2015-11-13 14:10:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-28 09:25:19 +0000 |
commit | 0f516f0efe76289ded8e9728d9e7a580d1b137f2 (patch) | |
tree | bdc8f301f3643588109b351425891af93c5c9252 /meta/classes | |
parent | c851096d9747b28b4387878f6e7e72a8abfa4a02 (diff) | |
download | poky-0f516f0efe76289ded8e9728d9e7a580d1b137f2.tar.gz |
image-vm.bbclass: uses IMAGE_LINK_NAME
Uses ${IMAGE_LINK_NAME} instead of ${IMAGE_BASENAME}-${MACHINE}.
(From OE-Core rev: 755627cdbe32ef1b46692669f8aba981d626a0e7)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image-vm.bbclass | 2 |
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 | |||
10 | 10 | ||
11 | # need to define the dependency and the ROOTFS for directdisk | 11 | # need to define the dependency and the ROOTFS for directdisk |
12 | do_bootdirectdisk[depends] += "${PN}:do_rootfs" | 12 | do_bootdirectdisk[depends] += "${PN}:do_rootfs" |
13 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext4" | 13 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.ext4" |
14 | 14 | ||
15 | # creating VM images relies on having a hddimg so ensure we inherit it here. | 15 | # creating VM images relies on having a hddimg so ensure we inherit it here. |
16 | inherit boot-directdisk | 16 | inherit boot-directdisk |