summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2005-09-08 22:26:28 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-08 22:26:28 +0000
commitb0b28d7137f8aa3e4c8c6977305565879e3a4a05 (patch)
tree9d37498bb7917158a27a80c6c6cd3690e156e94a
parent8e257dba22355f6dcc3fcfd4f838f8258c7e8446 (diff)
gpe-login: Use patch by Philippe De Swert to work around bugs in busybox related to handling of links.
-rw-r--r--packages/gpe-login/files/busybox-bad-perms.patch39
-rw-r--r--packages/gpe-login/gpe-login_0.82.bb4
2 files changed, 42 insertions, 1 deletions
diff --git a/packages/gpe-login/files/busybox-bad-perms.patch b/packages/gpe-login/files/busybox-bad-perms.patch
new file mode 100644
index 0000000000..a422089167
--- /dev/null
+++ b/packages/gpe-login/files/busybox-bad-perms.patch
@@ -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
diff --git a/packages/gpe-login/gpe-login_0.82.bb b/packages/gpe-login/gpe-login_0.82.bb
index 594bde73c3..ced40d43ff 100644
--- a/packages/gpe-login/gpe-login_0.82.bb
+++ b/packages/gpe-login/gpe-login_0.82.bb
@@ -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"