summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/syslinux.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass
index defad73a11..fd04ac68ba 100644
--- a/meta/classes/syslinux.bbclass
+++ b/meta/classes/syslinux.bbclass
@@ -121,7 +121,7 @@ python build_syslinux_cfg () {
121 if syslinux_serial: 121 if syslinux_serial:
122 cfgfile.write('SERIAL %s\n' % syslinux_serial) 122 cfgfile.write('SERIAL %s\n' % syslinux_serial)
123 123
124 menu = d.getVar('AUTO_SYSLINUXMENU', True) 124 menu = (d.getVar('AUTO_SYSLINUXMENU', True) == "1")
125 125
126 if menu and syslinux_serial: 126 if menu and syslinux_serial:
127 cfgfile.write('DEFAULT Graphics console %s\n' % (labels.split()[0])) 127 cfgfile.write('DEFAULT Graphics console %s\n' % (labels.split()[0]))