[arch-releng] [RFC] [PATCH] [configs/releng] Converts relative to absolute paths inside syslinux*.cfg

Thomas Bächler thomas at archlinux.org
Thu Nov 24 04:55:38 EST 2011

Am 24.11.2011 08:24, schrieb Gerardo Exequiel Pozzi:
> * In this way we have unified directory scheme between pxelinux and {sys,ext,iso}linux
> * Also enable IPAPPEND (will show a non-harm warning message under non-pxelinux bootloaders
> Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>

As mentioned in the other email, this will force everyone to use /arch/
as the archiso folder. When putting this on USB, you might want to use a
different path - this would force you to edit tons of config files.

I am more and more convinced we should do this for PXE

1) Use a separate configuration for pxelinux, specify /arch as option
210 and "boot/syslinux/pxelinux.cfg" as 209.
2) Use a loadconfig trick, including a chdir (as for isolinux) to switch
directory. I guess ".." in addresses works the same as with syslinux then.

Absolute paths are very ugly. Uglier than a stupid loadconfig trick.
Even uglier than providing two completely different sets of config files
(one for PXE, one for the rest).

On another note: Don't you have to modify the config files for PXE
anyway? You need to add the nbd/curl/nfs options to the command line, right?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-releng/attachments/20111124/c33908fe/attachment.asc>

More information about the arch-releng mailing list