[oe-commits] Richard Purdie : image_types.bbclass: Since we apply the override, look for the standard name variable, not the override name
git version control
git at git.openembedded.org
Thu Jun 9 21:43:52 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: a763fb1576f044dab8257a86bf37c879324dfa53
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a763fb1576f044dab8257a86bf37c879324dfa53
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Thu Jun 9 22:35:07 2011 +0100
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 at linuxfoundation.org>
---
meta/classes/image_types.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 601a5fb..edd6e1d 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
More information about the Openembedded-commits
mailing list