mirror of
https://bitbucket.org/gwenhael/cubietruck-slackware.git
synced 2024-12-26 21:58:20 +01:00
install both video scripts and hardlink to chosen one
This commit is contained in:
parent
c957ebbd6d
commit
f1822eb672
1 changed files with 8 additions and 10 deletions
14
build.sh
14
build.sh
|
@ -347,16 +347,14 @@ panic=10 rootfstype=ext4 rootflags=discard
|
|||
EOF
|
||||
|
||||
echo "setup video output"
|
||||
echo $CUBIETRUCK_DISPLAY
|
||||
case $CUBIETRUCK_DISPLAY in
|
||||
VGA) # VGA
|
||||
cp $BINARIES_DIR/cubie_configs/script-vga.bin $DEST/image/sdcard/boot/script.bin
|
||||
cp $BINARIES_DIR/cubie_configs/script-*.bin $DEST/image/sdcard/boot/
|
||||
( cd $DEST/image/sdcard/boot/
|
||||
case $CUBIETRUCK_DISPLAY in
|
||||
VGA) ln script-vga.bin script.bin
|
||||
;;
|
||||
HDMI) # HDMI
|
||||
cp $BINARIES_DIR/cubie_configs/script-hdmi.bin $DEST/image/sdcard/boot/script.bin
|
||||
HDMI) ln script-hdmi.bin script.bin
|
||||
;;
|
||||
*) exit 1
|
||||
esac
|
||||
esac )
|
||||
|
||||
echo "Installing kernel"
|
||||
cp $BINARIES_DIR/linux-sunxi/uImage $DEST/image/sdcard/boot/
|
||||
|
|
Loading…
Reference in a new issue