Tiny Core Base > CorePlus

Syslinux update break tc-install on 32-bit platform

(1/1)

polikuo:
Hi everyone !  :)
I just notice there's an update for syslinux
This could break the "tc-install" extension (chain-load function)


--- Quote ---Since version 5.00, some c32 modules need additional files (libraries) so to work correctly.
--- End quote ---
http://www.syslinux.org/wiki/index.php?title=Library_modules

"vesamenu.c32" and "chain.c32" are critical for graphical boot menu
Both "vesamenu.c32" and "chain.c32" depend on "libcom32.c32" and "libutil.c32" for syslinux 6.0.3

In the shell:

--- Code: ---line 358: cp /usr/local/share/syslinux/vesamenu.c32 $BOOTDIR/extlinux/.
line 359: cp /usr/local/share/syslinux/chain.c32 $BOOTDIR/extlinux/.
--- End code ---

On 64-bit platform, tc-install64.sh is modified at line 358:

--- Code: ---cp syslinux/vesamenu.c32 /usr/local/share/syslinux/libcom32.c32 /usr/local/share/syslinux/libutil.c32 $BOOTDIR/extlinux/.
--- End code ---

Also note that, in the shell

--- Code: ---line 376: echo "KERNEL chain.c32" >> $BOOTDIR/extlinux/extlinux.conf
--- End code ---
The syntax needs to be modified as

--- Code: ---COM32 chain.c32
--- End code ---

To make it simple:

--- Code: ---cat /usr/local/bin/tc-install.sh | \
sed 's#syslinux/vesamenu.c32#syslinux/vesamenu.c32\ /usr/local/share/syslinux/libcom32.c32\ /usr/local/share/syslinux/libutil.c32#g' | \
sed 's#KERNEL\ chain.c32#COM32\ chain.c32#g' \
> /tmp/new-tc-install.sh
--- End code ---

I haven't check the xbase.lst yet
See the "XBASE" variable

Juanito:
Thanks for pointing this out - updated tc-install posted

Navigation

[0] Message Index

Go to full version