create_livestick_osx: rename. clean up "live" mode

This commit is contained in:
Stefan Saraev 2014-01-20 13:46:03 +02:00
parent 648a002046
commit 5ecc934d68

View File

@ -179,50 +179,16 @@ copy_files(){
echo "INFO: Copying SYSTEM and KERNEL files to 'OPENELEC'"
cp -a target/KERNEL /Volumes/OPENELEC/
cp -a target/SYSTEM /Volumes/OPENELEC/
echo "INFO: Copying syslinux files to 'OPENELEC'"
cp -a 3rdparty/macfiles/vesamenu.c32 /Volumes/OPENELEC/
cp -a splash.png /Volumes/OPENELEC/
echo "INFO: Creating syslinux.cfg on 'OPENELEC'"
cat >/Volumes/OPENELEC/syslinux.cfg << EOF
UI vesamenu.c32
PROMPT 0
MENU TITLE Boot Menu
MENU BACKGROUND splash.png
TIMEOUT 50
DEFAULT live
MENU WIDTH 70
MENU MARGIN 15
MENU ROWS 2
MENU HSHIFT 4
MENU VSHIFT 13
MENU TIMEOUTROW 10
MENU TABMSGROW 8
MENU CMDLINEROW 8
MENU HELPMSGROW 13
MENU HELPMSGENDROW 26
MENU CLEAR
MENU COLOR border 30;44 #40ffffff #00000000 std
MENU COLOR title 1;36;44 #ff8bbfe3 #00000000 std
MENU COLOR sel 7;37;40 #80f0f0f0 #ff606060 all
MENU COLOR unsel 37;44 #50ffffff #00000000 std
MENU COLOR help 37;40 #c0ffffff #a0000000 std
MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07 37;40 #90ffffff #a0000000 std
MENU COLOR tabmsg 31;40 #ff868787 #00000000 std
DEFAULT installer
LABEL installer
MENU LABEL Run OpenELEC Installer
KERNEL /KERNEL
APPEND boot=LABEL=OPENELEC installer quiet vga=current
LABEL live
MENU LABEL Run OpenELEC Live
KERNEL /KERNEL
APPEND boot=LABEL=OPENELEC disk=FILE=STORAGE,512 quiet vga=current
EOF
}