mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
busybox-initramfs: use 'fbsplash' for bootsplash
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
f785609cab
commit
d66f206af5
@ -31,6 +31,13 @@ mkdir -p $INSTALL/etc
|
||||
touch $INSTALL/etc/fstab
|
||||
ln -sf /proc/self/mounts $INSTALL/etc/mtab
|
||||
|
||||
mkdir -p $INSTALL/splash
|
||||
if [ -f $PROJECT_DIR/$PROJECT/splash/splash.png ]; then
|
||||
cp $PROJECT_DIR/$PROJECT/splash/splash.ppm $INSTALL/splash
|
||||
else
|
||||
cp $PKG_DIR/splash/splash.ppm $INSTALL/splash
|
||||
fi
|
||||
|
||||
mkdir -p $INSTALL/dev
|
||||
mkdir -p $INSTALL/proc
|
||||
mkdir -p $INSTALL/sys
|
||||
|
@ -96,10 +96,10 @@ NFS_OVERLAY="192.168.1.1:/var/lib/overlay"
|
||||
SPLASH=no
|
||||
fi
|
||||
|
||||
if [ -f /flash/oemsplash.png ]; then
|
||||
SPLASHIMAGE="/flash/oemsplash.png"
|
||||
elif [ -f /splash/splash.png ]; then
|
||||
SPLASHIMAGE="/splash/splash.png"
|
||||
if [ -f /flash/oemsplash.ppm ]; then
|
||||
SPLASHIMAGE="/flash/oemsplash.ppm"
|
||||
elif [ -f /splash/splash.ppm ]; then
|
||||
SPLASHIMAGE="/splash/splash.ppm"
|
||||
else
|
||||
SPLASH=no
|
||||
fi
|
||||
@ -107,9 +107,7 @@ NFS_OVERLAY="192.168.1.1:/var/lib/overlay"
|
||||
if [ "$SPLASH" = "no" ]; then
|
||||
break
|
||||
else
|
||||
if [ -f "/bin/ply-image" ]; then
|
||||
/bin/ply-image "$SPLASHIMAGE" &
|
||||
fi
|
||||
/bin/busybox fbsplash -c -s "$SPLASHIMAGE" -d /dev/fb0
|
||||
fi
|
||||
}
|
||||
|
||||
|
BIN
packages/initramfs/sysutils/busybox-initramfs/splash/splash.png
Normal file
BIN
packages/initramfs/sysutils/busybox-initramfs/splash/splash.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
BIN
packages/initramfs/sysutils/busybox-initramfs/splash/splash.ppm
Normal file
BIN
packages/initramfs/sysutils/busybox-initramfs/splash/splash.ppm
Normal file
Binary file not shown.
BIN
packages/initramfs/sysutils/busybox-initramfs/splash/splash1.png
Normal file
BIN
packages/initramfs/sysutils/busybox-initramfs/splash/splash1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 93 KiB |
Loading…
x
Reference in New Issue
Block a user