summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-07-28 20:37:28 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-28 20:37:28 +0000
commit6415f4590284d5a5c4bac7e4798c7b510422923c (patch)
tree996b335438cc40310057f70c33cd6dafe115a3c9 /packages
parent5375d93f6f81db089970577efd8a254ace8fc61a (diff)
Add tty patch, courtesy Philpp Zabel, closes #177
Diffstat (limited to 'packages')
-rw-r--r--packages/udev/udev-063/tty-symlinks.patch11
-rw-r--r--packages/udev/udev_063.bb1
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/udev/udev-063/tty-symlinks.patch b/packages/udev/udev-063/tty-symlinks.patch
new file mode 100644
index 0000000000..6a458de64c
--- /dev/null
+++ b/packages/udev/udev-063/tty-symlinks.patch
@@ -0,0 +1,11 @@
+--- udev-063/etc/udev/udev.rules.devfs.orig 2005-07-27 19:55:51 +0200
++++ udev-063/etc/udev/udev.rules.devfs 2005-07-27 19:56:49 +0200
+@@ -103,3 +103,8 @@
+
+ # raw devices
+ KERNEL="raw[0-9]*", NAME="raw/%k"
++
++# tty devices
++KERNEL=="tty[0-9]*", SYMLINK="%k"
++KERNEL=="ttyS[0-9]*", SYMLINK="%k"
++
diff --git a/packages/udev/udev_063.bb b/packages/udev/udev_063.bb
index 83e237ed8e..cf67a065ae 100644
--- a/packages/udev/udev_063.bb
+++ b/packages/udev/udev_063.bb
@@ -3,6 +3,7 @@ SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://noasmlinkage.patch;patch=1 \
file://flags.patch;patch=1 \
file://fix-alignment.patch;patch=1 \
+ file://tty-symlinks.patch;patch=1 \
file://init"
include udev.inc