Unify the syslinux directory & config file name between ISO and installed USB stick
In the ISO we ship an isolinux
directory that contains an
isolinux.cfg
file. And then the USB installers (ours and various 3rd
party ones used e.g. on Windows) have to rename isolinux → syslinux,
isolinux.cfg → syslinux.cfg, and to adjust the config files accordingly.
I’m
told
that isolinux.bin
would read that file just as well if it was called
syslinux.cfg
, and we can give the (currently) isolinux
directory
whatever name we want, as long as we tell xorriso where it is.
So it seems that we could ship a syslinux
directory in the ISO, with a
syslinux.cfg
file in it. Then it’s probably a matter of ensuring we
pass the correct -b
option to XORRISO_OPTIONS
so live-build’s
lb_binary_iso
does the right thing.
This would allow all USB installers to drop quite a bit of code, and
would bring us one step closer to having “intermediary” Tails sticks
look more similar to those installed with Tails Installer. I also expect
it would help ensure that 3rd party USB installers do the right thing,
and they would simply have nothing to do except running our embedded
syslinux
to have ldlinux.sys
installed.
Parent Task: #15292 (closed)
Related issues
- Related to #15806
- Has duplicate #8144 (closed)
Original created by @intrigeri on 12439 (Redmine)