From: Konrad Scherer <konrad.sche...@windriver.com> Add additional parameter 'SYSLINUX_KERNEL_ARGS' in order to allow for specific kernel parameters to be set when using syslinux.
Signed-off-by: Konrad Scherer <konrad.sche...@windriver.com> Signed-off-by: Mark Hatle <mark.ha...@windriver.com> --- meta/classes/syslinux.bbclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass index 0b90eab..1eca4f8 100644 --- a/meta/classes/syslinux.bbclass +++ b/meta/classes/syslinux.bbclass @@ -13,6 +13,7 @@ # ${SYSLINUX_OPTS} - additional options to add to the syslinux file ';' delimited # ${SYSLINUX_SPLASH} - A background for the vga boot menu if using the boot menu # ${SYSLINUX_SERIAL} - Set an alternate serial port or turn off serial with empty string +# ${SYSLINUX_KERNEL_ARGS} - Add additional kernel arguments do_bootimg[depends] += "syslinux:do_populate_sysroot \ syslinux-native:do_populate_sysroot" @@ -150,6 +151,10 @@ python build_syslinux_cfg () { for btype in btypes: cfgfile.write('LABEL %s%s\nKERNEL /vmlinuz\n' % (btype[0], label)) + exargs = d.getVar('SYSLINUX_KERNEL_ARGS', True) + if exargs: + btype[1] += " " + exargs + append = localdata.getVar('APPEND', True) initrd = localdata.getVar('INITRD', True) -- 1.8.1.2.545.g2f19ada _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core