diff options
author | Jonathan Liu <net147@gmail.com> | 2016-08-07 18:34:28 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-10 10:46:28 +0100 |
commit | 88a3d7629c1489bd4a8f028db1df80db099b388c (patch) | |
tree | efe3cec7366b67c97abb6da7562bc99a065b358c /meta/classes/gummiboot.bbclass | |
parent | 30ab044dacf2b8ece625c0735b620b2c47b8cf40 (diff) | |
download | poky-88a3d7629c1489bd4a8f028db1df80db099b388c.tar.gz |
meta/classes: fix bb.build.FuncFailed typos
(From OE-Core rev: 6a8b9599945f3f57bd86a205bc107b8490518d29)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gummiboot.bbclass')
-rw-r--r-- | meta/classes/gummiboot.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/gummiboot.bbclass b/meta/classes/gummiboot.bbclass index 14fa4cfaa0..e6eba17da1 100644 --- a/meta/classes/gummiboot.bbclass +++ b/meta/classes/gummiboot.bbclass | |||
@@ -74,7 +74,7 @@ python build_efi_cfg() { | |||
74 | try: | 74 | try: |
75 | cfgfile = open(cfile, 'w') | 75 | cfgfile = open(cfile, 'w') |
76 | except OSError: | 76 | except OSError: |
77 | raise bb.build.funcFailed('Unable to open %s' % (cfile)) | 77 | raise bb.build.FuncFailed('Unable to open %s' % (cfile)) |
78 | 78 | ||
79 | cfgfile.write('# Automatically created by OE\n') | 79 | cfgfile.write('# Automatically created by OE\n') |
80 | cfgfile.write('default %s\n' % (labels.split()[0])) | 80 | cfgfile.write('default %s\n' % (labels.split()[0])) |
@@ -97,7 +97,7 @@ python build_efi_cfg() { | |||
97 | try: | 97 | try: |
98 | entrycfg = open(entryfile, "w") | 98 | entrycfg = open(entryfile, "w") |
99 | except OSError: | 99 | except OSError: |
100 | raise bb.build.funcFailed('Unable to open %s' % (entryfile)) | 100 | raise bb.build.FuncFailed('Unable to open %s' % (entryfile)) |
101 | localdata.setVar('OVERRIDES', label + ':' + overrides) | 101 | localdata.setVar('OVERRIDES', label + ':' + overrides) |
102 | bb.data.update_data(localdata) | 102 | bb.data.update_data(localdata) |
103 | 103 | ||