From 92e165c4bcb3026b7870f8fa21c1a2c71cb1ba0d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 9 Jun 2011 22:35:07 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/image_types.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/image_types.bbclass') 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 -- cgit v1.2.3-54-g00ecf