[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH 5/7] weston: add a weston-launch group
From:       ross.burton () intel ! com (Ross Burton)
Date:       2013-05-31 15:08:08
Message-ID: bd5de26b75e051cd098d2f6ebaa13dff872ab64f.1370012830.git.ross.burton () intel ! com
[Download RAW message or body]

For weston-launch to be used by a non-root user, the user either needs to be a
member of the weston-launch group or own an active systemd user session.  Create
this group so users can be members of it.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-graphics/wayland/weston_1.0.6.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/wayland/weston_1.0.6.bb \
b/meta/recipes-graphics/wayland/weston_1.0.6.bb index dd17c03..07811f2 100644
--- a/meta/recipes-graphics/wayland/weston_1.0.6.bb
+++ b/meta/recipes-graphics/wayland/weston_1.0.6.bb
@@ -12,7 +12,7 @@ SRC_URI = \
"http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \  SRC_URI[md5sum] = \
"63202129d66d5514e572814da5dfa1f7"  SRC_URI[sha256sum] = \
"c833bc4dc8667561d2639b57220541531c039aa9332ce2a7022a3c466eb894f1"  
-inherit autotools pkgconfig
+inherit autotools pkgconfig useradd
 
 DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 mtdev jpeg"
 DEPENDS += "wayland mesa virtual/egl"
@@ -57,3 +57,6 @@ FILES_${PN}-examples = "${bindir}/*"
 
 RDEPENDS_${PN} += "xkeyboard-config"
 RRECOMMENDS_${PN} = "liberation-fonts"
+
+USERADD_PACKAGES = "${PN}"
+GROUPADD_PARAM_${PN} = "--system weston-launch"
-- 
1.7.10.4


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic