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>
This commit is contained in:
Darren Hart
2013-04-03 12:49:40 -07:00
committed by Richard Purdie
parent 0d217082f5
commit 530b3b3cd4
2 changed files with 3 additions and 1 deletions

View File

@@ -19,3 +19,5 @@ KERNEL=="rtc0", SYMLINK+="rtc"
#The first framebuffer is symlinked to /dev/fb
KERNEL=="fb0", SYMLINK+="fb"
# Make all input devices read-write to the input group
SUBSYSTEM=="input", GROUP="input", MODE="660"

View File

@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
inherit allarch
PR = "r7"
PR = "r8"
SRC_URI = " \
file://automount.rules \