]> code.ossystems Code Review - openembedded-core.git/commitdiff
image_types.bbclass: Since we apply the override, look for the standard name variable...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Jun 2011 21:35:07 +0000 (22:35 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Jun 2011 21:38:07 +0000 (22:38 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass

index 601a5fbb4db99d2e668526614f7705724a03a919..edd6e1d514c4cf627d3d7a5dfdd0bf07e44a8480 100644 (file)
@@ -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