diff options
author | Jonathan Liu <net147@gmail.com> | 2016-08-07 18:34:28 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-10 10:46:28 +0100 |
commit | 88a3d7629c1489bd4a8f028db1df80db099b388c (patch) | |
tree | efe3cec7366b67c97abb6da7562bc99a065b358c /meta/classes/systemd-boot.bbclass | |
parent | 30ab044dacf2b8ece625c0735b620b2c47b8cf40 (diff) | |
download | poky-88a3d7629c1489bd4a8f028db1df80db099b388c.tar.gz |
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>
Diffstat (limited to 'meta/classes/systemd-boot.bbclass')
-rw-r--r-- | meta/classes/systemd-boot.bbclass | 4 |
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() { | |||
77 | try: | 77 | try: |
78 | cfgfile = open(cfile, 'w') | 78 | cfgfile = open(cfile, 'w') |
79 | except OSError: | 79 | except OSError: |
80 | raise bb.build.funcFailed('Unable to open %s' % (cfile)) | 80 | raise bb.build.FuncFailed('Unable to open %s' % (cfile)) |
81 | 81 | ||
82 | cfgfile.write('# Automatically created by OE\n') | 82 | cfgfile.write('# Automatically created by OE\n') |
83 | cfgfile.write('default %s\n' % (labels.split()[0])) | 83 | cfgfile.write('default %s\n' % (labels.split()[0])) |
@@ -100,7 +100,7 @@ python build_efi_cfg() { | |||
100 | try: | 100 | try: |
101 | entrycfg = open(entryfile, "w") | 101 | entrycfg = open(entryfile, "w") |
102 | except OSError: | 102 | except OSError: |
103 | raise bb.build.funcFailed('Unable to open %s' % (entryfile)) | 103 | raise bb.build.FuncFailed('Unable to open %s' % (entryfile)) |
104 | localdata.setVar('OVERRIDES', label + ':' + overrides) | 104 | localdata.setVar('OVERRIDES', label + ':' + overrides) |
105 | bb.data.update_data(localdata) | 105 | bb.data.update_data(localdata) |
106 | 106 | ||