From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com ([143.182.124.37]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RLME6-0004AC-5J for openembedded-core@lists.openembedded.org; Tue, 01 Nov 2011 22:50:34 +0100 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 01 Nov 2011 14:44:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.69,440,1315206000"; d="scan'208";a="69447603" Received: from unknown (HELO swold-mobl.bigsur.com) ([10.255.15.200]) by azsmga001.ch.intel.com with ESMTP; 01 Nov 2011 14:44:23 -0700 From: Saul Wold To: openembedded-core@lists.openembedded.org Date: Tue, 1 Nov 2011 14:44:19 -0700 Message-Id: <5f42fbce6e383b6330efde454da2cfe0a38df5cf.1320183757.git.sgw@linux.intel.com> X-Mailer: git-send-email 1.7.6.4 In-Reply-To: References: In-Reply-To: References: Subject: [Pull v2 3/4] connman: create xuser X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2011 21:50:34 -0000 We create xuser here as a backup incase that xerver-nodm-init is not on the system. Signed-off-by: Saul Wold --- meta/recipes-connectivity/connman/connman.inc | 7 ++++++- meta/recipes-connectivity/connman/connman_0.75.bb | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index ae1b725..480b59c 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc @@ -18,7 +18,12 @@ DEPENDS = "libgdbus dbus glib-2.0 iptables" INITSCRIPT_NAME = "connman" INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ." -inherit autotools pkgconfig update-rc.d +USERADD_PACKAGES = "${PN}" +USERADD_PARAM_${PN} = "--system --no-create-home \ + --shell /bin/false --groups video,tty,audio \ + --user-group xuser" + +inherit autotools pkgconfig update-rc.d useradd do_install_append() { install -d ${D}${sysconfdir}/init.d/ diff --git a/meta/recipes-connectivity/connman/connman_0.75.bb b/meta/recipes-connectivity/connman/connman_0.75.bb index 8a02753..78f2199 100644 --- a/meta/recipes-connectivity/connman/connman_0.75.bb +++ b/meta/recipes-connectivity/connman/connman_0.75.bb @@ -1,5 +1,5 @@ require connman.inc -PR = "r2" +PR = "r3" EXTRA_OECONF += "\ ac_cv_path_WPASUPPLICANT=/usr/sbin/wpa_supplicant \ -- 1.7.6.4