[OE-core] [PATCH] wic: fix call of serial_console_form_kargs

Ed Bartosh ed.bartosh at linux.intel.com
Fri Feb 3 15:54:40 UTC 2017


As syslinux module has been recently removed and
serial_consloe_form_kargs became local API in rootfs_pcbios_ext plugin
it should be called without syslinux. prefix.

Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
 scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py b/scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py
index bd6fd6c..cb1da93 100644
--- a/scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py
+++ b/scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py
@@ -122,7 +122,7 @@ class RootfsPlugin(SourcePlugin):
         syslinux_conf += "ALLOWOPTIONS 1\n"
 
         # Derive SERIAL... line from from kernel boot parameters
-        syslinux_conf += syslinux.serial_console_form_kargs(options) + "\n"
+        syslinux_conf += serial_console_form_kargs(options) + "\n"
 
         syslinux_conf += "DEFAULT linux\n"
         syslinux_conf += "LABEL linux\n"
-- 
2.1.4




More information about the Openembedded-core mailing list