plymouth-lite: add support for distro based splash, move default splash to distro folder

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-11-02 16:05:35 +01:00
parent 83163d7603
commit 3cbed0708e
3 changed files with 7 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 207 KiB

After

Width:  |  Height:  |  Size: 207 KiB

View File

Before

Width:  |  Height:  |  Size: 439 KiB

After

Width:  |  Height:  |  Size: 439 KiB

View File

@ -47,7 +47,13 @@ makeinstall_init() {
cp ply-image $INSTALL/bin
mkdir -p $INSTALL/splash
if [ -f $PROJECT_DIR/$PROJECT/splash/splash.conf ]; then
if [ -f $DISTRO_DIR/$DISTRO/splash/splash.conf ]; then
cp $DISTRO_DIR/$DISTRO/splash/splash.conf $INSTALL/splash
cp $DISTRO_DIR/$DISTRO/splash/*.png $INSTALL/splash
elif [ -f $DISTRO_DIR/$DISTRO/splash/splash-1024.png \
-o -f $DISTRO_DIR/$DISTRO/splash/splash-full.png ]; then
cp $DISTRO_DIR/$DISTRO/splash/splash-*.png $INSTALL/splash
elif [ -f $PROJECT_DIR/$PROJECT/splash/splash.conf ]; then
cp $PROJECT_DIR/$PROJECT/splash/splash.conf $INSTALL/splash
cp $PROJECT_DIR/$PROJECT/splash/*.png $INSTALL/splash
elif [ -f $PROJECT_DIR/$PROJECT/splash/splash-1024.png \