]> code.ossystems Code Review - openembedded-core.git/commitdiff
wic: fix call of serial_console_form_kargs
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 3 Feb 2017 15:54:40 +0000 (17:54 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 5 Feb 2017 09:20:23 +0000 (09:20 +0000)
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@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py

index bd6fd6cec7302923299cb24065c991bc2292cf80..cb1da93d308820befc2f935fdfc7aa9eaad7db50 100644 (file)
@@ -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"