diff options
Diffstat (limited to 'meta/classes')
-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 | ||