diff options
Diffstat (limited to 'package/udev')
-rw-r--r-- | package/udev/udev-fix-s3c2410-serial-perms.patch | 12 | ||||
-rw-r--r-- | package/udev/udev.mk | 1 |
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 |