berryboot-tools: update for fullsize splash

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-09-30 18:40:24 +02:00
parent 1cbf8a2ab2
commit a749baa433
2 changed files with 4 additions and 8 deletions

View File

@ -32,8 +32,8 @@ mkdir -p $INSTALL/bin
cp $PLYMOUTH_DIR/ply-image $INSTALL/bin
mkdir -p $INSTALL/splash
if [ -f $PROJECT_DIR/$PROJECT/splash/splash.png ]; then
cp $PROJECT_DIR/$PROJECT/splash/splash.png $INSTALL/splash
if [ -f $PROJECT_DIR/$PROJECT/splash/splash-full.png ]; then
cp $PROJECT_DIR/$PROJECT/splash/splash-full.png $INSTALL/splash
else
cp $PLYMOUTH_PKG_DIR/splash/splash.png $INSTALL/splash
cp $PLYMOUTH_PKG_DIR/splash/splash-full.png $INSTALL/splash
fi

View File

@ -22,7 +22,7 @@
UPDATEDIR=${DATADIR}/storage/.update
UPDATEFILE=${UPDATEDIR}/SYSTEM
SPLASHIMAGE="/squashfs/splash/splash.png"
SPLASHIMAGE="/squashfs/splash/splash-full.png"
#
# load splash
@ -30,10 +30,6 @@ SPLASHIMAGE="/squashfs/splash/splash.png"
#
if [ -e /dev/fb0 -a -f "${SPLASHIMAGE}" ]; then
# set framebuffer to a default resolution (1024x768-32)
LD_LIBRARY_PATH=/squashfs/lib /squashfs/lib/ld.so \
/squashfs/bin/busybox fbset -g 1024 768 1024 768 32
# load splash
LD_LIBRARY_PATH=/squashfs/lib /squashfs/lib/ld.so \
/squashfs/bin/ply-image ${SPLASHIMAGE} > /dev/null 2>&1