diff options
Diffstat (limited to 'meta/recipes-graphics/x11-common')
-rw-r--r-- | meta/recipes-graphics/x11-common/xserver-nodm-init.bb | 4 | ||||
-rwxr-xr-x | meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init.bb b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb index eab76c597b..d2797a99d1 100644 --- a/meta/recipes-graphics/x11-common/xserver-nodm-init.bb +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)" | |||
2 | LICENSE = "GPLv2" | 2 | LICENSE = "GPLv2" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
4 | SECTION = "x11" | 4 | SECTION = "x11" |
5 | PR = "r30" | 5 | PR = "r31" |
6 | RDEPENDS_${PN} = "sudo" | 6 | RDEPENDS_${PN} = "sudo" |
7 | 7 | ||
8 | SRC_URI = "file://xserver-nodm \ | 8 | SRC_URI = "file://xserver-nodm \ |
@@ -34,6 +34,6 @@ INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ." | |||
34 | # USERADD_PARAM is in sync with the one in connman.inc | 34 | # USERADD_PARAM is in sync with the one in connman.inc |
35 | USERADD_PACKAGES = "${PN}" | 35 | USERADD_PACKAGES = "${PN}" |
36 | USERADD_PARAM_${PN} = "--create-home \ | 36 | USERADD_PARAM_${PN} = "--create-home \ |
37 | --groups video,tty,audio \ | 37 | --groups video,tty,audio,input \ |
38 | --user-group xuser" | 38 | --user-group xuser" |
39 | 39 | ||
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm index e790fb0921..f6692a814b 100755 --- a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm | |||
@@ -33,7 +33,6 @@ case "$1" in | |||
33 | # setting for rootless X | 33 | # setting for rootless X |
34 | chmod o+w /var/log | 34 | chmod o+w /var/log |
35 | chmod g+r /dev/tty[0-3] | 35 | chmod g+r /dev/tty[0-3] |
36 | chmod o+rw /dev/input/* | ||
37 | # hidraw device is probably needed | 36 | # hidraw device is probably needed |
38 | if [ -e /dev/hidraw0 ]; then | 37 | if [ -e /dev/hidraw0 ]; then |
39 | chmod o+rw /dev/hidraw* | 38 | chmod o+rw /dev/hidraw* |