mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
berryboot-tools: update for fullsize splash
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
1cbf8a2ab2
commit
a749baa433
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user