diff options
| author | Jonathan Liu <net147@gmail.com> | 2016-08-07 18:38:45 +1000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-23 15:27:03 +0100 |
| commit | b64fa0af89d64c8d74fb14d23c0faa8727fd2027 (patch) | |
| tree | 220d15ebd898fe2de24ac6e36eb21b2deb116d77 | |
| parent | 8f300880c4bbcb672b96e9d9f89aac4a50af3daa (diff) | |
| download | poky-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>
| -rw-r--r-- | meta/classes/grub-efi.bbclass | 2 | ||||
| -rw-r--r-- | meta/classes/gummiboot.bbclass | 4 | ||||
| -rw-r--r-- | 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() { | |||
| 93 | try: | 93 | try: |
| 94 | cfgfile = file(cfile, 'w') | 94 | cfgfile = file(cfile, 'w') |
| 95 | except OSError: | 95 | except OSError: |
| 96 | raise bb.build.funcFailed('Unable to open %s' % (cfile)) | 96 | raise bb.build.FuncFailed('Unable to open %s' % (cfile)) |
| 97 | 97 | ||
| 98 | cfgfile.write('# Automatically created by OE\n') | 98 | cfgfile.write('# Automatically created by OE\n') |
| 99 | 99 | ||
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 | ||
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 () { | |||
| 105 | try: | 105 | try: |
| 106 | cfgfile = file(cfile, 'w') | 106 | cfgfile = file(cfile, 'w') |
| 107 | except OSError: | 107 | except OSError: |
| 108 | raise bb.build.funcFailed('Unable to open %s' % (cfile)) | 108 | raise bb.build.FuncFailed('Unable to open %s' % (cfile)) |
| 109 | 109 | ||
| 110 | cfgfile.write('# Automatically created by OE\n') | 110 | cfgfile.write('# Automatically created by OE\n') |
| 111 | 111 | ||
