summaryrefslogtreecommitdiff
path: root/meta/classes/systemd-boot.bbclass
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2016-08-07 18:34:28 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-07 22:18:21 +0100
commit6a8b9599945f3f57bd86a205bc107b8490518d29 (patch)
tree4a5f2ce52f8aee4b4a08aa65e09355c1505e7475 /meta/classes/systemd-boot.bbclass
parent3f1eb2556026572dca9476c561d89b86723395c7 (diff)
downloadopenembedded-core-6a8b9599945f3f57bd86a205bc107b8490518d29.tar.gz
openembedded-core-6a8b9599945f3f57bd86a205bc107b8490518d29.tar.bz2
openembedded-core-6a8b9599945f3f57bd86a205bc107b8490518d29.zip
meta/classes: fix bb.build.FuncFailed typos
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/systemd-boot.bbclass')
-rw-r--r--meta/classes/systemd-boot.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/systemd-boot.bbclass b/meta/classes/systemd-boot.bbclass
index 9e9398a2a5..b550b61a7c 100644
--- a/meta/classes/systemd-boot.bbclass
+++ b/meta/classes/systemd-boot.bbclass
@@ -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)