mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +02:00
meta/classes: fix bb.build.FuncFailed typos
(From OE-Core rev: 6a8b9599945f3f57bd86a205bc107b8490518d29) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
30ab044dac
commit
88a3d7629c
@@ -77,7 +77,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]))
|
||||
@@ -100,7 +100,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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user