diff options
| author | Richard Purdie <richard@openedhand.com> | 2007-03-28 11:00:17 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2007-03-28 11:00:17 +0000 |
| commit | d1cc5a3225ddf9acaf88d929f629f17ce902e2ac (patch) | |
| tree | 5d34b3226b1a02affca6c4d355d46f6aaed69816 | |
| parent | bd90b8eebc0f55c2d1511dca54d859710b59007c (diff) | |
| download | poky-d1cc5a3225ddf9acaf88d929f629f17ce902e2ac.tar.gz | |
psplash: Add handling for rotated displays
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1399 311d38ba-8fff-0310-9ca6-ca027cbcb966
| -rwxr-xr-x | meta/packages/psplash/files/psplash-init | 7 | ||||
| -rw-r--r-- | 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 a966638074..e2c6bf8f5d 100755 --- a/meta/packages/psplash/files/psplash-init +++ b/meta/packages/psplash/files/psplash-init | |||
| @@ -12,5 +12,10 @@ done | |||
| 12 | export TMPDIR=/mnt/.psplash | 12 | export TMPDIR=/mnt/.psplash |
| 13 | mount tmpfs -t tmpfs $TMPDIR -o,size=40k | 13 | mount tmpfs -t tmpfs $TMPDIR -o,size=40k |
| 14 | 14 | ||
| 15 | /usr/bin/psplash & | 15 | rotation=0 |
| 16 | if [ -e /etc/rotation ]; then | ||
| 17 | rotation=`cat /etc/rotation` | ||
| 18 | fi | ||
| 19 | |||
| 20 | /usr/bin/psplash --angle=$rotation & | ||
| 16 | 21 | ||
diff --git a/meta/packages/psplash/psplash_svn.bb b/meta/packages/psplash/psplash_svn.bb index 5ac42f9ec7..4066c6b3fb 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." | |||
| 2 | SECTION = "base" | 2 | SECTION = "base" |
| 3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
| 4 | PV = "0.0+svn${SRCDATE}" | 4 | PV = "0.0+svn${SRCDATE}" |
| 5 | PR = "r1" | 5 | PR = "r2" |
| 6 | 6 | ||
| 7 | SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \ | 7 | SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \ |
| 8 | file://psplash-init" | 8 | file://psplash-init" |
