Patchwork [2/4] connman: make xuser a member of 'shutdown' group

login
register
mail settings
Submitter Laurentiu Palcu
Date July 3, 2013, 2:34 p.m.
Message ID <a9f674746a1cbeb8aa9dc83b40afe3dfcb4ef2bf.1372861799.git.laurentiu.palcu@intel.com>
Download mbox | patch
Permalink /patch/52905/
State New
Headers show

Comments

Laurentiu Palcu - July 3, 2013, 2:34 p.m.
Additionaly, make it a member of 'input' group too. That's for aligning
the user creation with xserver-nodm-init.

[YOCTO #4345]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 meta/recipes-connectivity/connman/connman.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index e6584ff..728787f 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -64,7 +64,7 @@  SYSTEMD_WIRED_SETUP = "ExecStartPre=-${libdir}/connman/wired-setup"
 # USERADD_PARAM is in sync with the one in xserver-nodm-init.bb
 USERADD_PACKAGES = "${PN}"
 USERADD_PARAM_${PN} = "--create-home \
-                       --groups video,tty,audio \
+                       --groups video,tty,audio,input,shutdown \
                        --user-group xuser"
 
 inherit autotools gtk-doc pkgconfig systemd update-rc.d useradd