weston-common: properly add groups
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Fri, 10 Oct 2014 09:16:51 +0000 (11:16 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Thu, 16 Oct 2014 08:47:45 +0000 (10:47 +0200)
Change-Id: I12d3f8c1d10addd090740c890c34a8cc1d26c143
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
recipes-tizen/weston-common/weston-common-extraconf.inc

index 508fcec..c6d1fee 100644 (file)
@@ -8,6 +8,13 @@ SRC_URI += "file://0004-Modifications-for-yocto-build.patch"
 DEPENDS += "config-tizen-common"
 RDEPENDS_${PN} += "config-tizen-common"
 
+inherit useradd
+
+USERADD_PACKAGES = "${PN}"
+GROUPADD_PARAM_${PN} += "--system -o display;"
+GROUPADD_PARAM_${PN} += "--system -o input;"
+GROUPADD_PARAM_${PN} += "--system -o weston-launch"
+
 do_install_append() {
     install -m 755 uid.sh ${D}/etc/profile.d