[oe-commits] org.oe.dev psplash: adjust the rotation angle in the initscript according to the machine being used. Should fix #2149
polyonymous commit
openembedded-commits at lists.openembedded.org
Mon May 7 00:21:29 UTC 2007
psplash: adjust the rotation angle in the initscript according to the machine being used. Should fix #2149
Author: polyonymous at openembedded.org
Branch: org.openembedded.dev
Revision: cfa8d2cb144f036d07edfe4d470a48c730645c51
ViewMTN: http://monotone.openembedded.org/revision.psp?id=cfa8d2cb144f036d07edfe4d470a48c730645c51
Files:
1
packages/psplash/files/psplash-init
packages/psplash/psplash_svn.bb
Diffs:
#
# mt diff -re5ec927d4f5903f2bce4865d0925afabbcf9406e -rcfa8d2cb144f036d07edfe4d470a48c730645c51
#
#
#
# patch "packages/psplash/files/psplash-init"
# from [aab12b17bcc0af3699f97c9fc0aa5475b4ceb9a2]
# to [3772ad3a62a548c557d719d87d586d1d4ea6044f]
#
# patch "packages/psplash/psplash_svn.bb"
# from [15470c2b56ea6dff7e2a68f754cd308d4677b57f]
# to [d5521d74d11a572d9e91709a632c96da2cfd0e78]
#
============================================================
--- packages/psplash/files/psplash-init aab12b17bcc0af3699f97c9fc0aa5475b4ceb9a2
+++ packages/psplash/files/psplash-init 3772ad3a62a548c557d719d87d586d1d4ea6044f
@@ -9,8 +9,13 @@ done
esac
done
+psplash_args=''
+case "`grep ^Hardware /proc/cpuinfo|cut -d: -f2 |tr A-Z a-z`" in
+ "hp ipaq h3100"|"hp ipaq h3800") pspash_args='-a 90' ;;
+ "hp ipaq 3600"|"hp ipaq 3700"|"hp ipaq h3900"|"htc universal"|*collie|*poodle|*akita|*spitz|*borzoi) psplash_args='-a 270' ;;
+esac
+
export TMPDIR=/mnt/.psplash
mount tmpfs -t tmpfs $TMPDIR -o,size=40k
+/usr/bin/psplash $psplash_args &
-/usr/bin/psplash &
-
============================================================
--- packages/psplash/psplash_svn.bb 15470c2b56ea6dff7e2a68f754cd308d4677b57f
+++ packages/psplash/psplash_svn.bb d5521d74d11a572d9e91709a632c96da2cfd0e78
@@ -1,9 +1,9 @@ PV = "0.0+svn${SRCDATE}"
DESCRIPTION = "Userspace framebuffer boot logo based on usplash."
SECTION = "base"
LICENSE = "GPL"
PV = "0.0+svn${SRCDATE}"
-PR = "r2"
+PR = "r3"
# You can create your own pslash-hand-img.h by doing
# ./make-image-header.sh <file>.png HAND
More information about the Openembedded-commits
mailing list