From d1cc5a3225ddf9acaf88d929f629f17ce902e2ac Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 28 Mar 2007 11:00:17 +0000 Subject: psplash: Add handling for rotated displays git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1399 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/psplash/files/psplash-init | 7 ++++++- meta/packages/psplash/psplash_svn.bb | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/meta/packages/psplash/files/psplash-init b/meta/packages/psplash/files/psplash-init index a96663807..e2c6bf8f5 100755 --- a/meta/packages/psplash/files/psplash-init +++ b/meta/packages/psplash/files/psplash-init @@ -12,5 +12,10 @@ done export TMPDIR=/mnt/.psplash mount tmpfs -t tmpfs $TMPDIR -o,size=40k -/usr/bin/psplash & +rotation=0 +if [ -e /etc/rotation ]; then + rotation=`cat /etc/rotation` +fi + +/usr/bin/psplash --angle=$rotation & diff --git a/meta/packages/psplash/psplash_svn.bb b/meta/packages/psplash/psplash_svn.bb index 5ac42f9ec..4066c6b3f 100644 --- a/meta/packages/psplash/psplash_svn.bb +++ b/meta/packages/psplash/psplash_svn.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Userspace framebuffer boot logo based on usplash." SECTION = "base" LICENSE = "GPL" PV = "0.0+svn${SRCDATE}" -PR = "r1" +PR = "r2" SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \ file://psplash-init" -- cgit v1.2.3