From 4c226c35e97e19293ed4ac0f943671d4f63343f0 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Mon, 8 Sep 2014 10:26:36 +0200 Subject: [PATCH] Add default user for Tizen IVI Change-Id: Ia0d2fb39b5facdde3032e92f856c3cbb8d80f410 Signed-off-by: Ronan Le Martret --- .../weston-ivi-shell/weston-ivi-shell-extraconf.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/recipes-tizen/weston-ivi-shell/weston-ivi-shell-extraconf.inc b/recipes-tizen/weston-ivi-shell/weston-ivi-shell-extraconf.inc index cc17cc5..47cbd0b 100644 --- a/recipes-tizen/weston-ivi-shell/weston-ivi-shell-extraconf.inc +++ b/recipes-tizen/weston-ivi-shell/weston-ivi-shell-extraconf.inc @@ -1,7 +1,11 @@ inherit useradd -USERADD_PARAM_${PN} += " -d /home/app -m -u 5000 -g users -G users,display -r -s /bin/sh app " -USERADD_PARAM_${PN} += " -d /home/guest -m -u 9999 -g users -G users,display -r -s /bin/sh guest; " +GROUPADD_PARAM_${PN} = "-g 100 users; -g 5000 app; -g 192 weston-launch" + +USERADD_PARAM_${PN} += " -u 5000 -d /home/app -m -g users -G users,weston-launch -r -s /bin/sh app ; " +USERADD_PARAM_${PN} += " -u 9999 -d /home/guest -m -g users -G users,weston-launch -r -s /bin/sh guest " + +USERADD_PACKAGES = "${PN}" do_configure_prepend() { # pkg-config check for wayland scanner even though it is present and wayland-scanner.pc seems ok. @@ -37,10 +41,6 @@ FILES_${PN} += "/usr/lib/weston/gl-renderer.so" FILES_${PN}-dev += "/usr/lib/pkgconfig/weston.pc" - - - - do_install_append() { rm -fr ${D}/usr/include/weston/config-parser.h rm -fr ${D}/usr/include/weston/compositor.h -- 2.7.4