From 616d948ccccccd36d1c10a3bc6d58fd6d9f17ae6 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 29 Jun 2010 10:06:15 +0200 Subject: [PATCH] plymouth-lite: add support for project based splash screens Signed-off-by: Stephan Raue --- packages/sysutils/plymouth-lite/install | 6 +++++- .../plymouth-lite/splash/{Splash.png => splash.png} | Bin 2 files changed, 5 insertions(+), 1 deletion(-) rename packages/sysutils/plymouth-lite/splash/{Splash.png => splash.png} (100%) diff --git a/packages/sysutils/plymouth-lite/install b/packages/sysutils/plymouth-lite/install index 94b28501ab..e3a63689fb 100755 --- a/packages/sysutils/plymouth-lite/install +++ b/packages/sysutils/plymouth-lite/install @@ -9,7 +9,11 @@ if [ "$2" = initramfs ]; then cp $PKG_BUILD/ply-image $INSTALL/initramfs/bin mkdir -p $INSTALL/initramfs - cp $PKG_DIR/splash/Splash.png $INSTALL/initramfs/splash.png + if [ -f $PROJECT_DIR/$PROJECT/splash/splash.png ]; then + cp $PROJECT_DIR/$PROJECT/filesystem/splash/splash.png $INSTALL/initramfs/ + else + cp $PKG_DIR/splash/splash.png $INSTALL/initramfs/ + fi exit 0 fi diff --git a/packages/sysutils/plymouth-lite/splash/Splash.png b/packages/sysutils/plymouth-lite/splash/splash.png similarity index 100% rename from packages/sysutils/plymouth-lite/splash/Splash.png rename to packages/sysutils/plymouth-lite/splash/splash.png