summaryrefslogtreecommitdiffstats
path: root/meta/classes/gummiboot.bbclass
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2016-08-07 18:38:45 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-23 15:27:03 +0100
commitb64fa0af89d64c8d74fb14d23c0faa8727fd2027 (patch)
tree220d15ebd898fe2de24ac6e36eb21b2deb116d77 /meta/classes/gummiboot.bbclass
parent8f300880c4bbcb672b96e9d9f89aac4a50af3daa (diff)
downloadpoky-b64fa0af89d64c8d74fb14d23c0faa8727fd2027.tar.gz
meta/classes: fix bb.build.FuncFailed typos
(From OE-Core rev: 32fb246f7288199c74794f7736da4b32a08a756f) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gummiboot.bbclass')
-rw-r--r--meta/classes/gummiboot.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/gummiboot.bbclass b/meta/classes/gummiboot.bbclass
index 1ebb9462d3..96d1301379 100644
--- a/meta/classes/gummiboot.bbclass
+++ b/meta/classes/gummiboot.bbclass
@@ -72,7 +72,7 @@ python build_efi_cfg() {
72 try: 72 try:
73 cfgfile = open(cfile, 'w') 73 cfgfile = open(cfile, 'w')
74 except OSError: 74 except OSError:
75 raise bb.build.funcFailed('Unable to open %s' % (cfile)) 75 raise bb.build.FuncFailed('Unable to open %s' % (cfile))
76 76
77 cfgfile.write('# Automatically created by OE\n') 77 cfgfile.write('# Automatically created by OE\n')
78 cfgfile.write('default %s\n' % (labels.split()[0])) 78 cfgfile.write('default %s\n' % (labels.split()[0]))
@@ -95,7 +95,7 @@ python build_efi_cfg() {
95 try: 95 try:
96 entrycfg = open(entryfile, "w") 96 entrycfg = open(entryfile, "w")
97 except OSError: 97 except OSError:
98 raise bb.build.funcFailed('Unable to open %s' % (entryfile)) 98 raise bb.build.FuncFailed('Unable to open %s' % (entryfile))
99 localdata.setVar('OVERRIDES', label + ':' + overrides) 99 localdata.setVar('OVERRIDES', label + ':' + overrides)
100 bb.data.update_data(localdata) 100 bb.data.update_data(localdata)
101 101