mirror of
https://git.yoctoproject.org/poky
synced 2026-02-14 20:53:03 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
8f300880c4
commit
b64fa0af89
@@ -93,7 +93,7 @@ python build_efi_cfg() {
|
||||
try:
|
||||
cfgfile = file(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')
|
||||
|
||||
|
||||
@@ -72,7 +72,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]))
|
||||
@@ -95,7 +95,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)
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ python build_syslinux_cfg () {
|
||||
try:
|
||||
cfgfile = file(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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user