From 32fb246f7288199c74794f7736da4b32a08a756f Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Sun, 7 Aug 2016 18:38:45 +1000 Subject: meta/classes: fix bb.build.FuncFailed typos Signed-off-by: Jonathan Liu Signed-off-by: Armin Kuster --- meta/classes/grub-efi.bbclass | 2 +- meta/classes/gummiboot.bbclass | 4 ++-- meta/classes/syslinux.bbclass | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass index 4ce3d2844a..ec86627e4a 100644 --- a/meta/classes/grub-efi.bbclass +++ b/meta/classes/grub-efi.bbclass @@ -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') 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() { 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) diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass index 52fb51f22f..8609cab910 100644 --- a/meta/classes/syslinux.bbclass +++ b/meta/classes/syslinux.bbclass @@ -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') -- cgit 1.2.3-korg