From patchwork Thu Jan 24 08:16:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [12/12] dbus: inherit volatiles to support read-only rootfs Date: Thu, 24 Jan 2013 08:16:52 -0000 From: Qi.Chen@windriver.com X-Patchwork-Id: 43271 Message-Id: To: Cc: Zhenfeng.Zhao@windriver.com From: Chen Qi Inherit volatiles.bbclass to support read-only rootfs. [YOCTO #3406] Signed-off-by: Chen Qi --- meta/recipes-core/dbus/dbus.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index 88218b7..f614285 100644 --- a/meta/recipes-core/dbus/dbus.inc +++ b/meta/recipes-core/dbus/dbus.inc @@ -12,17 +12,20 @@ DEPENDS_class-nativesdk = "nativesdk-expat virtual/nativesdk-libintl virtual/lib RDEPENDS_dbus = "${@base_contains('DISTRO_FEATURES', 'ptest', 'dbus-ptest', '', d)}" RDEPENDS_class-native = "" -INC_PR = "r5" +INC_PR = "r6" SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ file://tmpdir.patch; \ file://dbus-1.init" -inherit useradd autotools pkgconfig gettext update-rc.d +inherit useradd autotools pkgconfig gettext update-rc.d volatiles INITSCRIPT_NAME = "dbus-1" INITSCRIPT_PARAMS = "start 02 5 3 2 . stop 20 0 1 6 ." +VOLATILE_DIR = "/var/volatile/lib/dbus" +VOLATILE_LINK = "/var/lib/dbus" + USERADD_PACKAGES = "${PN}" GROUPADD_PARAM_${PN} = "-r netdev" USERADD_PARAM_${PN} = "--system --home ${localstatedir}/lib/dbus \