Browse Source

[comboot] Match version strings to SYSLINUX style

In the actual SYSLINUX suite's comboot implementation, the version
string is prefixed by CR LF, and the copyright string has a leading
space.  Some tools (specifically HDT) assume these padding characters
exist, so we should probably return strings in a similar format.

Signed-off-by: Michael Brown <mcb30@etherboot.org>
tags/v1.20.1
Daniel Verkamp 14 years ago
parent
commit
12defeca99
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/arch/i386/interface/syslinux/comboot_call.c

+ 2
- 2
src/arch/i386/interface/syslinux/comboot_call.c View File

43
 #include "config/serial.h"
43
 #include "config/serial.h"
44
 
44
 
45
 /** The "SYSLINUX" version string */
45
 /** The "SYSLINUX" version string */
46
-static char __data16_array ( syslinux_version, [] ) = "gPXE " VERSION;
46
+static char __data16_array ( syslinux_version, [] ) = "\r\ngPXE " VERSION;
47
 #define syslinux_version __use_data16 ( syslinux_version )
47
 #define syslinux_version __use_data16 ( syslinux_version )
48
 
48
 
49
 /** The "SYSLINUX" copyright string */
49
 /** The "SYSLINUX" copyright string */
50
-static char __data16_array ( syslinux_copyright, [] ) = "http://etherboot.org";
50
+static char __data16_array ( syslinux_copyright, [] ) = " http://etherboot.org";
51
 #define syslinux_copyright __use_data16 ( syslinux_copyright )
51
 #define syslinux_copyright __use_data16 ( syslinux_copyright )
52
 
52
 
53
 static char __data16_array ( syslinux_configuration_file, [] ) = "";
53
 static char __data16_array ( syslinux_configuration_file, [] ) = "";

Loading…
Cancel
Save