summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/grub-efi.bbclass2
-rw-r--r--meta/classes/gummiboot.bbclass4
-rw-r--r--meta/classes/syslinux.bbclass2
-rw-r--r--meta/classes/systemd-boot.bbclass4
4 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index b8c20dd8a6..ae8ee382cd 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -95,7 +95,7 @@ python build_efi_cfg() {
95 try: 95 try:
96 cfgfile = open(cfile, 'w') 96 cfgfile = open(cfile, 'w')
97 except OSError: 97 except OSError:
98 raise bb.build.funcFailed('Unable to open %s' % (cfile)) 98 raise bb.build.FuncFailed('Unable to open %s' % (cfile))
99 99
100 cfgfile.write('# Automatically created by OE\n') 100 cfgfile.write('# Automatically created by OE\n')
101 101
diff --git a/meta/classes/gummiboot.bbclass b/meta/classes/gummiboot.bbclass
index 14fa4cfaa0..e6eba17da1 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 raise bb.build.FuncFailed('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]))
@@ -97,7 +97,7 @@ python build_efi_cfg() {
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 raise bb.build.FuncFailed('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
diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass
index 1d310dddf2..fa3e3ec8a4 100644
--- a/meta/classes/syslinux.bbclass
+++ b/meta/classes/syslinux.bbclass
@@ -105,7 +105,7 @@ python build_syslinux_cfg () {
105 try: 105 try:
106 cfgfile = open(cfile, 'w') 106 cfgfile = open(cfile, 'w')
107 except OSError: 107 except OSError:
108 raise bb.build.funcFailed('Unable to open %s' % (cfile)) 108 raise bb.build.FuncFailed('Unable to open %s' % (cfile))
109 109
110 cfgfile.write('# Automatically created by OE\n') 110 cfgfile.write('# Automatically created by OE\n')
111 111
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