diff options
| author | Darren Hart <dvhart@linux.intel.com> | 2013-04-03 12:49:40 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-04 14:04:42 +0100 |
| commit | 530b3b3cd4b81b87705b92c12cb29712cc71be57 (patch) | |
| tree | 9733aacc82186c4ca16a5195fb443cd8abee5c52 /meta/recipes-core/udev | |
| parent | 0d217082f5693b2cb040d74ad5ab4184eca87a18 (diff) | |
| download | poky-530b3b3cd4b81b87705b92c12cb29712cc71be57.tar.gz | |
udev-extraconf: Add rule adding input devices to input group
Fixes [YOCTO 4164](2/3)
Add all /dev/input/* devices to the input group with g+rw. This is
needed for rootless X without adding a security hole by making the
device o+rw.
(From OE-Core rev: 66c9b46f987f3e4f1f9b7b11d1ae157897454f07)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Saul Wold <sgw@linux.intel.com>
Cc: Radu Moisan <radu.moisan@intel.com>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev')
| -rw-r--r-- | meta/recipes-core/udev/udev-extraconf/localextra.rules | 2 | ||||
| -rw-r--r-- | meta/recipes-core/udev/udev-extraconf_1.0.bb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev-extraconf/localextra.rules b/meta/recipes-core/udev/udev-extraconf/localextra.rules index 4eaa8ca9b0..3d51d3e395 100644 --- a/meta/recipes-core/udev/udev-extraconf/localextra.rules +++ b/meta/recipes-core/udev/udev-extraconf/localextra.rules | |||
| @@ -19,3 +19,5 @@ KERNEL=="rtc0", SYMLINK+="rtc" | |||
| 19 | #The first framebuffer is symlinked to /dev/fb | 19 | #The first framebuffer is symlinked to /dev/fb |
| 20 | KERNEL=="fb0", SYMLINK+="fb" | 20 | KERNEL=="fb0", SYMLINK+="fb" |
| 21 | 21 | ||
| 22 | # Make all input devices read-write to the input group | ||
| 23 | SUBSYSTEM=="input", GROUP="input", MODE="660" | ||
diff --git a/meta/recipes-core/udev/udev-extraconf_1.0.bb b/meta/recipes-core/udev/udev-extraconf_1.0.bb index 2c4a4f1976..ea95a60067 100644 --- a/meta/recipes-core/udev/udev-extraconf_1.0.bb +++ b/meta/recipes-core/udev/udev-extraconf_1.0.bb | |||
| @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3 | |||
| 6 | 6 | ||
| 7 | inherit allarch | 7 | inherit allarch |
| 8 | 8 | ||
| 9 | PR = "r7" | 9 | PR = "r8" |
| 10 | 10 | ||
| 11 | SRC_URI = " \ | 11 | SRC_URI = " \ |
| 12 | file://automount.rules \ | 12 | file://automount.rules \ |
