mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #2217 from dagwieers/livestick-syslinux-part
Use the host's vesamenu.c32 as well
This commit is contained in:
commit
18a26c0d4c
@ -232,9 +232,16 @@ EOF
|
|||||||
cp README.md /tmp/usb_install
|
cp README.md /tmp/usb_install
|
||||||
cp RELEASE /tmp/usb_install
|
cp RELEASE /tmp/usb_install
|
||||||
|
|
||||||
cp 3rdparty/syslinux/vesamenu.c32 /tmp/usb_install
|
|
||||||
cp splash.png /tmp/usb_install
|
cp splash.png /tmp/usb_install
|
||||||
|
|
||||||
|
if [ -f /usr/lib/syslinux/vesamenu.c32 ]; then
|
||||||
|
cp /usr/lib/syslinux/vesamenu.c32 /tmp/usb_install
|
||||||
|
elif [ -f /usr/share/syslinux/vesamenu.c32 ]; then
|
||||||
|
cp /usr/share/syslinux/vesamenu.c32 /tmp/usb_install
|
||||||
|
else
|
||||||
|
echo "ERROR: Can't find syslinux's vesamenu.c32 on Host OS" >&2
|
||||||
|
fi
|
||||||
|
|
||||||
# sync disk
|
# sync disk
|
||||||
echo "syncing disk..."
|
echo "syncing disk..."
|
||||||
sync
|
sync
|
||||||
@ -250,7 +257,7 @@ EOF
|
|||||||
elif [ -f /usr/share/syslinux/mbr.bin ]; then
|
elif [ -f /usr/share/syslinux/mbr.bin ]; then
|
||||||
MBR="/usr/share/syslinux/mbr.bin" # example: fedora
|
MBR="/usr/share/syslinux/mbr.bin" # example: fedora
|
||||||
else
|
else
|
||||||
echo "Can't find syslinux's mbr.bin on Host OS"
|
echo "ERROR: Can't find syslinux's mbr.bin on Host OS" >&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$MBR" ]; then
|
if [ -n "$MBR" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user