aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/image_types.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-09 22:35:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-09 22:38:07 +0100
commita763fb1576f044dab8257a86bf37c879324dfa53 (patch)
treecc60a8bf9a115efc95bc866ffdfd04d675a6d7fb /meta/classes/image_types.bbclass
parentd1d87429d751e0bff115ff60d1b5fc55b8fa6249 (diff)
downloadopenembedded-core-contrib-a763fb1576f044dab8257a86bf37c879324dfa53.tar.gz
image_types.bbclass: Since we apply the override, look for the standard name variable, not the override name
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image_types.bbclass')
-rw-r--r--meta/classes/image_types.bbclass2
1 files changed, 1 insertions, 1 deletions
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