Hallo, H. Peter, Du meintest am 25.06.13:>> We could probably fabricate a script of some sort to check for the >> required version of gnu-efi, and skip it if not found, unless the >> user explicitly requested that the EFI files be built, in which case >> we'd error out. >> >> Thoughts?> Not really... let's just document "make bios".By the way: what about an option "-v" or "--version"? It's a bit nasty to find the version of syslinux or pxelinux with an editor or so ... Viele Gruesse! Helmut
On Wed, 26 Jun, at 06:30:00PM, Helmut Hullen wrote:> Hallo, H. Peter, > > Du meintest am 25.06.13: > > >> We could probably fabricate a script of some sort to check for the > >> required version of gnu-efi, and skip it if not found, unless the > >> user explicitly requested that the EFI files be built, in which case > >> we'd error out. > >> > >> Thoughts? > > > Not really... let's just document "make bios". > > By the way: what about an option "-v" or "--version"? > > It's a bit nasty to find the version of syslinux or pxelinux with an > editor or so ...[matt at mfleming-mobl1 syslinux]$ cat version 5.11 2013 -- Matt Fleming, Intel Open Source Technology Center
>> >> By the way: what about an option "-v" or "--version"? >> >> It's a bit nasty to find the version of syslinux or pxelinux with an >> editor or so ... > > [matt at mfleming-mobl1 syslinux]$ cat version > 5.11 2013 >In addition, when using the Syslinux installers, "-v" and "--version" are already available, just as "--help". When in the Syslinux prompt, pressing 'CTRL+v' should give the version too, but I don't remember if this is available in all Syslinux variants. Regards, Ady.
Hallo, Matt, Du meintest am 26.06.13:>> By the way: what about an option "-v" or "--version"? >> >> It's a bit nasty to find the version of syslinux or pxelinux with an >> editor or so ...> [matt at mfleming-mobl1 syslinux]$ cat version > 5.11 2013Sorry - that sounds like a very special output, depending p.e. on the directory from where I run this command. I've found an appropiate file only in the source packet, not in a binary. On my test machine there are now about 5 versions of "syslinux" (source and binary packet) - but only one of them is really running. Viele Gruesse! Helmut
On Wed, 26 Jun 2013, Helmut Hullen wrote:> Du meintest am 25.06.13: > >>> We could probably fabricate a script of some sort to check for the >>> required version of gnu-efi, and skip it if not found, unless the >>> user explicitly requested that the EFI files be built, in which case >>> we'd error out. >>> >>> Thoughts? > >> Not really... let's just document "make bios". > > By the way: what about an option "-v" or "--version"? > > It's a bit nasty to find the version of syslinux or pxelinux with an > editor or so ...For Relax-and-Recover we need the syslinux version to know what capabilities are working to generate a configuration file, and our script does the following until it finds a match: extlinux --version syslinux --version strings isolinux.bin | awk '/^ISOLINUX / { print $2 }' strings pxelinux.0 | awk '/^PXELINUX / { print $2 }' Maybe that is useful to you ? -- -- dag wieers, dag at wieers.com, http://dag.wieers.com/ -- dagit linux solutions, contact at dagit.net, http://dagit.net/ [Any errors in spelling, tact or fact are transmission errors]
Hallo, Dag, Du meintest am 27.06.13:>> By the way: what about an option "-v" or "--version"? >> >> It's a bit nasty to find the version of syslinux or pxelinux with an >> editor or so ...> For Relax-and-Recover we need the syslinux version to know what > capabilities are working to generate a configuration file, and our > script does the following until it finds a match:> extlinux --version > syslinux --version > strings isolinux.bin | awk '/^ISOLINUX / { print $2 }' > strings pxelinux.0 | awk '/^PXELINUX / { print $2 }'> Maybe that is useful to you ?Thanks - I need the version mostly for pxelinux, and there "ctrl v" does the job especially when the client wants to know the server's version. On the server looking with something like "strings" (or a text editor) is a sufficient solution, especially for pxelinux whose directory is somewhere. Viele Gruesse! Helmut