summaryrefslogtreecommitdiff
path: root/meta/classes/image-live.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-live.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-live.bbclass')
-rw-r--r--meta/classes/image-live.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass
index 2f3261ec16..bfb59f808b 100644
--- a/meta/classes/image-live.bbclass
+++ b/meta/classes/image-live.bbclass
@@ -10,6 +10,6 @@ LABELS_append = " ${SYSLINUX_LABELS} "
ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3"
do_bootimg[depends] += "${INITRD_IMAGE}:do_rootfs"
-do_bootimg[depends] += "${IMAGE_BASENAME}:do_rootfs"
+do_bootimg[depends] += "${PN}:do_rootfs"
inherit bootimg