From: Kévin THIERRY Date: Wed, 8 Oct 2014 14:34:39 +0000 (+0200) Subject: meta-tizen: gsignond: properly create user groups X-Git-Tag: rev_ivi_2015_02_04~201 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4ceac945ac4800d3f025d8391be42915fe93bc6;p=scm%2Fbb%2Ftizen-distro.git meta-tizen: gsignond: properly create user groups Change-Id: I1b1ef304ae2a2096923ffd59b94a4fefc869ac37 (From meta-tizen rev: 8137f66791a97e4f84a4ef58147b000c8fb9dd98) Signed-off-by: Kévin THIERRY Signed-off-by: Patrick Ohly --- diff --git a/meta-tizen/recipes-tizen/gsignond/gsignond-extraconf.inc b/meta-tizen/recipes-tizen/gsignond/gsignond-extraconf.inc index afe3a90..1f3b348 100644 --- a/meta-tizen/recipes-tizen/gsignond/gsignond-extraconf.inc +++ b/meta-tizen/recipes-tizen/gsignond/gsignond-extraconf.inc @@ -1,3 +1,15 @@ +inherit useradd + +USERADD_PACKAGES = "${PN}" +GROUPADD_PARAM_${PN} += "--system gsignond" + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + chmod u+s $D${prefix}/bin/gsignond +} + FILES_${PN}-dbg += "/usr/lib/gsignond/extensions/.debug/libextension-test.so" FILES_${PN}-dbg += "/usr/lib/gsignond/extensions/.debug/libextension-tizen.so" FILES_${PN}-dbg += "/usr/lib/gsignond/pluginloaders/.debug/gsignond-plugind"