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 +- meta/classes/systemd-boot.bbclass | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-)
meta/classes/grub-efi.bbclass +1 -1
@@ -95,7 +95,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')
meta/classes/gummiboot.bbclass +2 -2
@@ -74,7 +74,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]))
@@ -97,7 +97,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 = 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')
meta/classes/systemd-boot.bbclass +2 -2
@@ -77,7 +77,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]))
@@ -100,7 +100,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)
Signature · 1 line
2.9.2