On 12/02/2011 03:46 AM, Thomas Bächler wrote:
Am 02.12.2011 04:45, schrieb Gerardo Exequiel Pozzi:
Signed-off-by: Gerardo Exequiel Pozzi<[email protected]>
---
  configs/releng/syslinux/archiso.cfg      |   72 +----------------------------
  configs/releng/syslinux/archiso_head.cfg |   28 ++++++++++++
  configs/releng/syslinux/archiso_sys.cfg  |   10 ++++
  configs/releng/syslinux/archiso_tail.cfg |   29 ++++++++++++
  4 files changed, 70 insertions(+), 69 deletions(-)
  create mode 100644 configs/releng/syslinux/archiso_head.cfg
  create mode 100644 configs/releng/syslinux/archiso_sys.cfg
  create mode 100644 configs/releng/syslinux/archiso_tail.cfg

diff --git a/configs/releng/syslinux/archiso.cfg 
b/configs/releng/syslinux/archiso.cfg
index e508bcc..1228355 100644
--- a/configs/releng/syslinux/archiso.cfg
+++ b/configs/releng/syslinux/archiso.cfg
@@ -1,69 +1,3 @@
-SERIAL 0 38400
[...]
+INCLUDE boot/syslinux/archiso_head.cfg
+INCLUDE boot/syslinux/archiso_arch.cfg
+INCLUDE boot/syslinux/archiso_tail.cfg
The SERIAL statement must be the first statement, always. I didn't test
it, but I don't know if it works after INCLUDE, and I don't know if it
works if we load a config file using CONFIG.

To be sure, always hardcode the SERIAL statement into every top-level
config file that is loaded directly by the bootloader.

Yes its works. Indeed I always work all time with serial console in qemu :P

I think it can fail if something goes wrong before reading SERIAL directive.

--
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1

Reply via email to