]> code.ossystems Code Review - openembedded-core.git/commitdiff
connman: bump PR and add some comments
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Tue, 12 Jun 2012 14:11:24 +0000 (17:11 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Jun 2012 12:11:11 +0000 (13:11 +0100)
The comments are for informing anyone who wants to change USERADD_PARAMs
to make sure it's in sync with the one in xserver-nodm-init, in order
for rootless X to work.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
meta/recipes-connectivity/connman/connman.inc
meta/recipes-connectivity/connman/connman_0.79.bb
meta/recipes-graphics/x11-common/xserver-nodm-init.bb

index eb174c5d340b92ea24d0af6cab3af15e07cb7164..34123234ddf06b7c926c10c37158c3990383f444 100644 (file)
@@ -20,6 +20,8 @@ DEPENDS  = "dbus glib-2.0 ppp iptables gnutls \
             ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
             "
 
+INC_PR = "r6"
+
 TIST = "--enable-tist"
 TIST_powerpc = ""
 
@@ -46,6 +48,8 @@ EXTRA_OECONF += "\
 INITSCRIPT_NAME = "connman"
 INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."
 
+# IMPORTANT: because xuser is shared with rootless X, please make sure the
+# 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 \
index ec3d147d84d78e8b6235322d5bc9db0750b1ae29..898fb11f077471157c856d8461001b85b3f3da14 100644 (file)
@@ -11,4 +11,4 @@ SRC_URI  = "git://git.kernel.org/pub/scm/network/connman/connman.git \
             file://test-set-ipv6-method-api-fix.patch \
             file://connman"
 S = "${WORKDIR}/git"
-PR = "r5"
+PR = "${INC_PR}.0"
index 1b9526104c66daac81bc14a9100d4c754eb9671a..8fca05613cd2114b0f157bad43b5a410c595b798 100644 (file)
@@ -30,6 +30,8 @@ INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ."
 
 # Use fixed Xusername of xuser for now, this will need to be
 # fixed if the Xusername changes from xuser
+# IMPORTANT: because xuser is shared with connman, please make sure the
+# USERADD_PARAM is in sync with the one in connman.inc
 USERADD_PACKAGES = "${PN}"
 USERADD_PARAM_${PN} = "--create-home \
                        --groups video,tty,audio \