From 7cb07658d140203d628009433e2164867814d493 Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Thu, 1 Oct 2015 11:04:36 +0300 Subject: xuser-account: Take over xuser specific D-Bus policy Move connmans xuser-related D-Bus policy to a separate file that xuser-account installs: This way connman does not need to depend on xuser-account. Add policies for bluez and ofono in the same file. (From OE-Core rev: 9f37ce18b7d79135a67474187b6119980e0130ae) Signed-off-by: Jussi Kukkonen Signed-off-by: Richard Purdie --- meta/recipes-support/user-creation/xuser-account_0.1.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'meta/recipes-support/user-creation/xuser-account_0.1.bb') diff --git a/meta/recipes-support/user-creation/xuser-account_0.1.bb b/meta/recipes-support/user-creation/xuser-account_0.1.bb index 77ba97dbf1..13ba677333 100644 --- a/meta/recipes-support/user-creation/xuser-account_0.1.bb +++ b/meta/recipes-support/user-creation/xuser-account_0.1.bb @@ -2,7 +2,7 @@ SUMMARY = "Creates an 'xuser' account used for running X11" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" -SRC_URI = "" +SRC_URI = "file://system-xuser.conf" inherit allarch useradd @@ -15,9 +15,11 @@ do_compile() { } do_install() { - : + install -D -m 0644 ${WORKDIR}/system-xuser.conf ${D}${sysconfdir}/dbus-1/system.d/system-xuser.conf } +FILES_${PN} = "${sysconfdir}/dbus-1/system.d/system-xuser.conf" + USERADD_PACKAGES = "${PN}" GROUPADD_PARAM_${PN} = "--system shutdown" USERADD_PARAM_${PN} = "--create-home \ -- cgit v1.2.3-54-g00ecf