gpe-login: Use patch by Philippe De Swert to work around bugs in busybox related...
authorFlorian Boor <florian.boor@kernelconcepts.de>
Thu, 8 Sep 2005 22:26:28 +0000 (22:26 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 8 Sep 2005 22:26:28 +0000 (22:26 +0000)
packages/gpe-login/files/busybox-bad-perms.patch [new file with mode: 0644]
packages/gpe-login/gpe-login_0.82.bb

diff --git a/packages/gpe-login/files/busybox-bad-perms.patch b/packages/gpe-login/files/busybox-bad-perms.patch
new file mode 100644 (file)
index 0000000..a422089
--- /dev/null
@@ -0,0 +1,39 @@
+--- gpe-login.pre-session.orig 2005-09-08 00:18:21.000000000 +0200
++++ gpe-login-0.82/X11/gpe-login.pre-session   2005-09-08 00:18:13.000000000 +0200
+@@ -4,26 +4,28 @@
+ # Sound devices on various devices #
++if [ -e /dev/dsp ]; then
++chown $USER /dev/dsp
++fi
++
++if [ -e /dev/mixer ]; then
++chown $USER /dev/mixer
++fi
++
+ if [ -e /dev/sound/dsp ]; then
+ chown $USER /dev/sound/dsp
++chmod u+rw /dev/sound/dsp
+ fi
+ if [ -e /dev/sound/mixer ]; then
+ chown $USER /dev/sound/mixer
++chmod u+rw /dev/sound/mixer
+ fi
+ if [ -e /dev/misc/buzzer ]; then
+ chown $USER /dev/misc/buzzer
+ fi
+-if [ -e /dev/dsp ]; then
+-chown $USER /dev/dsp
+-fi
+-
+-if [ -e /dev/mixer ]; then
+-chown $USER /dev/mixer
+-fi
+-
+ # touchscreen devices #
+ if [ -e /dev/touchscreen/0raw ]; then
index 594bde7..ced40d4 100644 (file)
@@ -8,4 +8,6 @@ MAINTAINER  = "Philip Blundell <pb@handhelds.org>"
 DEPENDS     = "gtk+ libgpewidget gpe-ownerinfo xkbd"
 RDEPENDS    = "xkbd"
 RPROVIDES   = "gpe-session-starter"
-PR = "r0"
+PR = "r1"
+
+SRC_URI += "file://busybox-bad-perms.patch;patch=1"