[arch-releng] [PATCH 2/3] [syslinux-cfg] Adjust to work with new -D option of mkarchiso

Thomas Bächler thomas at archlinux.org
Thu Oct 21 03:04:18 EDT 2010

Am 21.10.2010 05:38, schrieb Gerardo Exequiel Pozzi:
> This is how ISO will look now:
> /syslinux    only syslinux related files (syslinux.cfg, *.c32, etc)
> /arch/       isomounts + *.sqfs images
> /arch/boot/  Linux + initramfs + Memtest86+ + other files for early boot stage
> Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>

While all this is looking good, we might be able to contain it more in
/arch. In principle, syslinux now has a 'cd' call to change the 'current
directory'. /syslinux could then only contain isolinux.cfg and a
syslinux.cfg file (and maybe a few .c32) that changes the directory to
/arch/boot/syslinux/ and loads syslinux.cfg from there.

On the syslinux command line, this is easy:
cd.c32 /arch/boot/syslinux
config.c32 syslinux.cfg
In a config file, I don't know if it'll work, but we'll see. Maybe we
need to script it in lua, as I know of no way to call two .c32 files in
a row.

This way (if I can figure out how it works), it would be possible to
dump /boot completely and only copy /arch when switching to a different

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

More information about the arch-releng mailing list