Skip to contentSkip to conversation

wic: fix call of serial_console_form_kargs

PATCH New Ed Bartosh 1 participant 1 message Feb 3, 2017

lore
Share & tools
lore

Ed Bartosh

author
#0 lore raw

PATCH 1/1 wic: fix call of serial_console_form_kargs

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.

---
 scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py +1 -1
index bd6fd6c..cb1da93 100644
@@ -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"
Signature · 1 line
2.1.4