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-Tag: 2011-1~1160 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a763fb1576f044dab8257a86bf37c879324dfa53;p=openembedded-core.git image_types.bbclass: Since we apply the override, look for the standard name variable, not the override name Signed-off-by: Richard Purdie --- diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 601a5fbb4d..edd6e1d514 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