diff options
-rw-r--r-- | meta/classes/gummiboot.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/gummiboot.bbclass b/meta/classes/gummiboot.bbclass index e6eba17da1..4f2dea6c3d 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 | bb.fatal('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])) |
@@ -90,14 +90,14 @@ python build_efi_cfg() { | |||
90 | 90 | ||
91 | overrides = localdata.getVar('OVERRIDES', True) | 91 | overrides = localdata.getVar('OVERRIDES', True) |
92 | if not overrides: | 92 | if not overrides: |
93 | raise bb.build.FuncFailed('OVERRIDES not defined') | 93 | bb.fatal('OVERRIDES not defined') |
94 | 94 | ||
95 | entryfile = "%s/%s.conf" % (s, label) | 95 | entryfile = "%s/%s.conf" % (s, label) |
96 | d.appendVar("GUMMIBOOT_ENTRIES", " " + entryfile) | 96 | d.appendVar("GUMMIBOOT_ENTRIES", " " + entryfile) |
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 | bb.fatal('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 | ||