summaryrefslogtreecommitdiffstats
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:45:00 +0100
commit92e165c4bcb3026b7870f8fa21c1a2c71cb1ba0d (patch)
treecd0748c6ff7be7376cdcb0fb51cdd35192deb244 /meta/classes/image_types.bbclass
parenta831dc120f7086f686af38b9b3b0b54c75f1b5fd (diff)
downloadpoky-92e165c4bcb3026b7870f8fa21c1a2c71cb1ba0d.tar.gz
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 <richard.purdie@linuxfoundation.org> 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):
6 localdata.setVar('OVERRIDES', '%s:%s' % (type, old_overrides)) 6 localdata.setVar('OVERRIDES', '%s:%s' % (type, old_overrides))
7 bb.data.update_data(localdata) 7 bb.data.update_data(localdata)
8 localdata.setVar('type', type) 8 localdata.setVar('type', type)
9 cmd = localdata.getVar("IMAGE_CMD_" + type, True) 9 cmd = localdata.getVar("IMAGE_CMD", True)
10 localdata.setVar('cmd', cmd) 10 localdata.setVar('cmd', cmd)
11 cmds += localdata.getVar("runimagecmd", True) 11 cmds += localdata.getVar("runimagecmd", True)
12 return cmds 12 return cmds