diff options
author | Darren Hart <dvhart@linux.intel.com> | 2013-04-03 12:49:39 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-04 14:04:41 +0100 |
commit | 0d217082f5693b2cb040d74ad5ab4184eca87a18 (patch) | |
tree | c37b1088a67610eeb1b901e0eed7d06045a9dc02 /meta | |
parent | d040acb90453b77c31aab00b7450d81633fe6791 (diff) | |
download | poky-0d217082f5693b2cb040d74ad5ab4184eca87a18.tar.gz |
base-passwd: Add input group
Fixes [YOCTO 4164](1/3)
Add input group for the /dev/input/* devices. This is needed for
rootless X without adding a security hole by making the device o+rw.
(From OE-Core rev: 262234ab50636463f03fd4daccecc1232682ff59)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/base-passwd/base-passwd-3.5.26/input.patch | 22 | ||||
-rw-r--r-- | meta/recipes-core/base-passwd/base-passwd_3.5.26.bb | 5 |
2 files changed, 25 insertions, 2 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd-3.5.26/input.patch b/meta/recipes-core/base-passwd/base-passwd-3.5.26/input.patch new file mode 100644 index 0000000000..f1bfc2f604 --- /dev/null +++ b/meta/recipes-core/base-passwd/base-passwd-3.5.26/input.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | Add an input group for the /dev/input/* devices. | ||
2 | |||
3 | Upstream-Status: Invalid [configuration] | ||
4 | |||
5 | Signed-off-by: Darren Hart <dvhart@linux.intel.com> | ||
6 | |||
7 | --- | ||
8 | group.master | 1 + | ||
9 | 1 file changed, 1 insertion(+) | ||
10 | |||
11 | Index: base-passwd-3.5.26/group.master | ||
12 | =================================================================== | ||
13 | --- base-passwd-3.5.26.orig/group.master | ||
14 | +++ base-passwd-3.5.26/group.master | ||
15 | @@ -12,6 +12,7 @@ uucp:*:10: | ||
16 | man:*:12: | ||
17 | proxy:*:13: | ||
18 | kmem:*:15: | ||
19 | +input:*:19: | ||
20 | dialout:*:20: | ||
21 | fax:*:21: | ||
22 | voice:*:22: | ||
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb index febddcfac2..1c7e6b0e1d 100644 --- a/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb +++ b/meta/recipes-core/base-passwd/base-passwd_3.5.26.bb | |||
@@ -1,12 +1,13 @@ | |||
1 | SUMMARY = "Base system master password/group files." | 1 | SUMMARY = "Base system master password/group files." |
2 | DESCRIPTION = "The master copies of the user database files (/etc/passwd and /etc/group). The update-passwd tool is also provided to keep the system databases synchronized with these master files." | 2 | DESCRIPTION = "The master copies of the user database files (/etc/passwd and /etc/group). The update-passwd tool is also provided to keep the system databases synchronized with these master files." |
3 | SECTION = "base" | 3 | SECTION = "base" |
4 | PR = "r1" | 4 | PR = "r2" |
5 | LICENSE = "GPLv2+" | 5 | LICENSE = "GPLv2+" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" |
7 | 7 | ||
8 | SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \ | 8 | SRC_URI = "${DEBIAN_MIRROR}/main/b/base-passwd/base-passwd_${PV}.tar.gz \ |
9 | file://nobash.patch" | 9 | file://nobash.patch \ |
10 | file://input.patch" | ||
10 | 11 | ||
11 | SRC_URI[md5sum] = "74245e5c21dc74d9675c77cd8dfa02e6" | 12 | SRC_URI[md5sum] = "74245e5c21dc74d9675c77cd8dfa02e6" |
12 | SRC_URI[sha256sum] = "258a78317aa563143d10375c6e1e63a60898e503887f00fffd70b6b297c1b429" | 13 | SRC_URI[sha256sum] = "258a78317aa563143d10375c6e1e63a60898e503887f00fffd70b6b297c1b429" |