summaryrefslogtreecommitdiffstats
path: root/meta/classes/gummiboot.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/gummiboot.bbclass')
-rw-r--r--meta/classes/gummiboot.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/gummiboot.bbclass b/meta/classes/gummiboot.bbclass
index 14fa4cfaa0..e6eba17da1 100644
--- a/meta/classes/gummiboot.bbclass
+++ b/meta/classes/gummiboot.bbclass
@@ -74,7 +74,7 @@ python build_efi_cfg() {
74 try: 74 try:
75 cfgfile = open(cfile, 'w') 75 cfgfile = open(cfile, 'w')
76 except OSError: 76 except OSError:
77 raise bb.build.funcFailed('Unable to open %s' % (cfile)) 77 raise bb.build.FuncFailed('Unable to open %s' % (cfile))
78 78
79 cfgfile.write('# Automatically created by OE\n') 79 cfgfile.write('# Automatically created by OE\n')
80 cfgfile.write('default %s\n' % (labels.split()[0])) 80 cfgfile.write('default %s\n' % (labels.split()[0]))
@@ -97,7 +97,7 @@ python build_efi_cfg() {
97 try: 97 try:
98 entrycfg = open(entryfile, "w") 98 entrycfg = open(entryfile, "w")
99 except OSError: 99 except OSError:
100 raise bb.build.funcFailed('Unable to open %s' % (entryfile)) 100 raise bb.build.FuncFailed('Unable to open %s' % (entryfile))
101 localdata.setVar('OVERRIDES', label + ':' + overrides) 101 localdata.setVar('OVERRIDES', label + ':' + overrides)
102 bb.data.update_data(localdata) 102 bb.data.update_data(localdata)
103 103