summaryrefslogtreecommitdiff
path: root/meta/classes/image-vmdk.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-11-21 15:44:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-24 15:12:04 +0000
commit7e000fef0bf917f27dcad66dd90fae6c155c4d1d (patch)
treef073aa46216bed8250653bc49be038cfe4308224 /meta/classes/image-vmdk.bbclass
parent65e5670ef429bb6c348decb1804e425f1c4d7c61 (diff)
downloadopenembedded-core-7e000fef0bf917f27dcad66dd90fae6c155c4d1d.tar.gz
openembedded-core-7e000fef0bf917f27dcad66dd90fae6c155c4d1d.tar.bz2
openembedded-core-7e000fef0bf917f27dcad66dd90fae6c155c4d1d.zip
image classes: use PN for depends, not IMAGE_BASE_NAME
Some images override IMAGE_BASE_NAME in the recipe causing targets using image-{live,vmdk} to fail. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image-vmdk.bbclass')
-rw-r--r--meta/classes/image-vmdk.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image-vmdk.bbclass b/meta/classes/image-vmdk.bbclass
index 736d1d79b2..6f7df3f3ee 100644
--- a/meta/classes/image-vmdk.bbclass
+++ b/meta/classes/image-vmdk.bbclass
@@ -8,7 +8,7 @@ SYSLINUX_LABELS = "boot"
LABELS_append = " ${SYSLINUX_LABELS} "
# need to define the dependency and the ROOTFS for directdisk
-do_bootdirectdisk[depends] += "${IMAGE_BASENAME}:do_rootfs"
+do_bootdirectdisk[depends] += "${PN}:do_rootfs"
ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3"
# creating VMDK relies on having a live hddimg so ensure we