[arch-releng] [PATCH] [configs/releng] Make kernel and initramfs patch relative for syslinux

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Thu Nov 24 17:32:26 EST 2011


On 11/24/2011 01:20 PM, Thomas Bächler wrote:
> Am 24.11.2011 17:01, schrieb Gerardo Exequiel Pozzi:
>> Aha! I now rebember why I pushed absolute paths in syslinux.cfg: isolinux does not support ".." in paths!
>>
>> Only (ext|sys)linux have this and other nice features like install it on any path. ;)
>>
>>
>> PS: Sorry I for "de-chain-email" am outside my home from webmail.
> Holy shit! This needs to be fixed, otherwise we cannot unify the
> configuration files without ugliness. See my previous mail about ".." in
> TFTP paths.
>
Yes I read it. So as you can see we have these choices we want to unify 
dir struct for all bootloaders: (in resume)

1) Change directory scheme, put kernel/initramfs inside syslinux/%ARCH%, 
keep _all_ files references *relative* (also we can change current 
absolute paths to make it relative)
2) Keep directory scheme as now, but change _all_ files references to 
make it *absolute*. Plus adding a pxelinux.cfg with "loadconfig".
3) Wait some time for feature ".." in pxelinux/isolinux.


For each scheme I see some points:
1) Is not nice, we have mixed files.
2) Does not look to bad like (1), and if you think we have currently 
absolute paths _mixed_ with relative path, I this way we have _all_ path 
in only way form. Is trivial if you want to rename "/arch" to 
"/anyotherdirectory", or move "syslinux/" to another place.
3) The beautiful solution, but I guess will take some time to be 
implemented, in the case that can be possible.

I think we can use (2) until we get (3).

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



More information about the arch-releng mailing list