Bladeren bron

[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 jaren geleden
bovenliggende
commit
12defeca99
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2
    2
      src/arch/i386/interface/syslinux/comboot_call.c

+ 2
- 2
src/arch/i386/interface/syslinux/comboot_call.c Bestand weergeven

@@ -43,11 +43,11 @@ FILE_LICENCE ( GPL2_OR_LATER );
43 43
 #include "config/serial.h"
44 44
 
45 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 47
 #define syslinux_version __use_data16 ( syslinux_version )
48 48
 
49 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 51
 #define syslinux_copyright __use_data16 ( syslinux_copyright )
52 52
 
53 53
 static char __data16_array ( syslinux_configuration_file, [] ) = "";

Laden…
Annuleren
Opslaan