summaryrefslogtreecommitdiffstats
path: root/package/udev
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-04-06 18:21:51 +0000
committerEric Andersen <andersen@codepoet.org>2006-04-06 18:21:51 +0000
commit1718a2060213538df2249db96c036566bbe1d7cf (patch)
tree7ea0a802cd2f7a0993eee8b56305ce6aba488771 /package/udev
parent0d26efed3a70b1c8d044dcc119e7810b4c852a75 (diff)
downloadbuildroot-novena-1718a2060213538df2249db96c036566bbe1d7cf.tar.gz
buildroot-novena-1718a2060213538df2249db96c036566bbe1d7cf.zip
bjdooks writes:
udev creates wrong permissions on /dev/s3c2410_serial devices Attached patch adds a line for s3c2410_serial with the correct MODE/group
Diffstat (limited to 'package/udev')
-rw-r--r--package/udev/udev-fix-s3c2410-serial-perms.patch12
-rw-r--r--package/udev/udev.mk1
2 files changed, 13 insertions, 0 deletions
diff --git a/package/udev/udev-fix-s3c2410-serial-perms.patch b/package/udev/udev-fix-s3c2410-serial-perms.patch
new file mode 100644
index 000000000..e38cbf94e
--- /dev/null
+++ b/package/udev/udev-fix-s3c2410-serial-perms.patch
@@ -0,0 +1,12 @@
+diff -urp udev-058/etc/udev/frugalware/udev.rules udev-058/etc/udev/frugalware/udev.rules
+--- udev-058/etc/udev/frugalware/udev.rules 2005-05-20 21:18:28.000000000 +0100
++++ udev-058/etc/udev/frugalware/udev.rules 2005-10-26 02:26:25.000000000 +0100
+@@ -40,6 +40,8 @@ KERNEL="ttyUB[0-9]", NAME="%k", OWNER
+ KERNEL="ttyUSB0", NAME="%k", OWNER="root", GROUP="uucp", MODE="0660"
+ KERNEL="ttyUSB1", NAME="%k", OWNER="root" GROUP="uucp", MODE="0666"
+
++KERNEL="s3c2410_serial*" NAME="%k", OWNER="root", GROUP="uucp", MODE="0660"
++
+ # pty devices
+ KERNEL="ptmx" NAME="%k", OWNER="root", GROUP="tty", MODE="0666"
+ KERNEL="pty[p-za-e][0-9a-f]*" NAME="%k", OWNER="root", GROUP="tty", MODE="0666"
diff --git a/package/udev/udev.mk b/package/udev/udev.mk
index e437be111..3c5f6ca95 100644
--- a/package/udev/udev.mk
+++ b/package/udev/udev.mk
@@ -21,6 +21,7 @@ udev-source: $(DL_DIR)/$(UDEV_SOURCE)
$(UDEV_DIR)/.unpacked: $(DL_DIR)/$(UDEV_SOURCE)
$(UDEV_CAT) $(DL_DIR)/$(UDEV_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(UDEV_DIR) package/udev \*.patch
touch $(UDEV_DIR)/.unpacked
$(UDEV_DIR)/.configured: $(UDEV_DIR)/.unpacked