From: Richard Purdie Date: Thu, 9 Jun 2011 21:35:07 +0000 (+0100) Subject: image_types.bbclass: Since we apply the override, look for the standard name variable... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92e165c4bcb3026b7870f8fa21c1a2c71cb1ba0d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git image_types.bbclass: Since we apply the override, look for the standard name variable, not the override name (From OE-Core rev: a763fb1576f044dab8257a86bf37c879324dfa53) Signed-off-by: Richard Purdie Signed-off-by: Richard Purdie --- diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 601a5fbb4db..edd6e1d514c 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass @@ -6,7 +6,7 @@ def get_imagecmds(d): localdata.setVar('OVERRIDES', '%s:%s' % (type, old_overrides)) bb.data.update_data(localdata) localdata.setVar('type', type) - cmd = localdata.getVar("IMAGE_CMD_" + type, True) + cmd = localdata.getVar("IMAGE_CMD", True) localdata.setVar('cmd', cmd) cmds += localdata.getVar("runimagecmd", True) return cmds