meta/classes: fix bb.build.FuncFailed typos
PATCH 1/1 meta/classes: fix bb.build.FuncFailed typos
Signed-off-by Jonathan Liu <[email protected]>
--- meta/classes/grub-efi.bbclass | 2 +- meta/classes/gummiboot.bbclass | 4 ++-- meta/classes/syslinux.bbclass | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-)
meta/classes/grub-efi.bbclass +1 -1
@@ -93,7 +93,7 @@ python build_efi_cfg() { try: cfgfile = file(cfile, 'w') except OSError: - raise bb.build.funcFailed('Unable to open %s' % (cfile)) + raise bb.build.FuncFailed('Unable to open %s' % (cfile)) cfgfile.write('# Automatically created by OE\n')
meta/classes/gummiboot.bbclass +2 -2
@@ -72,7 +72,7 @@ python build_efi_cfg() { try: cfgfile = open(cfile, 'w') except OSError: - raise bb.build.funcFailed('Unable to open %s' % (cfile)) + raise bb.build.FuncFailed('Unable to open %s' % (cfile)) cfgfile.write('# Automatically created by OE\n') cfgfile.write('default %s\n' % (labels.split()[0]))
@@ -95,7 +95,7 @@ python build_efi_cfg() { try: entrycfg = open(entryfile, "w") except OSError: - raise bb.build.funcFailed('Unable to open %s' % (entryfile)) + raise bb.build.FuncFailed('Unable to open %s' % (entryfile)) localdata.setVar('OVERRIDES', label + ':' + overrides) bb.data.update_data(localdata)
meta/classes/syslinux.bbclass +1 -1
@@ -105,7 +105,7 @@ python build_syslinux_cfg () { try: cfgfile = file(cfile, 'w') except OSError: - raise bb.build.funcFailed('Unable to open %s' % (cfile)) + raise bb.build.FuncFailed('Unable to open %s' % (cfile)) cfgfile.write('# Automatically created by OE\n')
Signature · 1 line
2.9.2