busybox-initramfs: use 'fbsplash' for bootsplash

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-02-07 01:26:56 +01:00
parent f785609cab
commit d66f206af5
5 changed files with 12 additions and 7 deletions

View File

@ -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

View File

@ -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
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB