Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mail.openembedded.org (Postfix) with ESMTP id 462F065C7B for ; Thu, 5 Mar 2015 13:16:38 +0000 (UTC) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 05 Mar 2015 05:16:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,347,1422950400"; d="scan'208";a="660855464" Received: from bottazzini-thinkpad-t430.bz.intel.com (HELO [10.218.99.51]) ([10.218.99.51]) by orsmga001.jf.intel.com with ESMTP; 05 Mar 2015 05:16:39 -0800 Message-ID: <1425561390.2707.29.camel@bottazzini-ThinkPad-T430> From: "Bottazzini, Bruno" To: Andreas Oberritter Date: Thu, 05 Mar 2015 10:16:30 -0300 In-Reply-To: <54F83775.5040604@opendreambox.org> References: <1425504462-6979-1-git-send-email-bruno.bottazzini@intel.com> <1425504462-6979-2-git-send-email-bruno.bottazzini@intel.com> <54F83775.5040604@opendreambox.org> X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH 1/3] dbus: split tools package. X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2015 13:16:40 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Qui, 2015-03-05 at 12:01 +0100, Andreas Oberritter wrote: > Hello Gustavo, > > On 04.03.2015 22:27, Bruno Bottazzini wrote: > > From: Gustavo Sverzut Barbieri > > > > Most tools are not required if one is launching a simple daemon. > > The user will be able to exclude dbus-tool and save some space in his > > build > > > > Signed-off-by: Bruno Bottazzini > > --- > > meta/recipes-core/dbus/dbus.inc | 10 ++++++++-- > > 1 file changed, 8 insertions(+), 2 deletions(-) > > > > diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc > > index fb5d017..f975dc9 100644 > > --- a/meta/recipes-core/dbus/dbus.inc > > +++ b/meta/recipes-core/dbus/dbus.inc > > @@ -39,13 +39,13 @@ CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf ${sysconfdir}/dbus-1/session > > > > DEBIANNAME_${PN} = "dbus-1" > > > > -PACKAGES =+ "${PN}-lib" > > +PACKAGES =+ "${PN}-lib ${PN}-tools" > > > > OLDPKGNAME = "dbus-x11" > > OLDPKGNAME_class-nativesdk = "" > > > > # for compatibility > > -RPROVIDES_${PN} = "${OLDPKGNAME}" > > +RPROVIDES_${PN} = "${OLDPKGNAME} ${PN}-native-tools-native" > > this line seems to be wrong. What are you trying to solve with it? > > Regards, > Andreas Hello Andreas, Could you be more specific what is wrong with this line ? Have you tried removing it and compile it ? Try compiling this patch and see what it provides. If you want to exclude the dbus-tools just add the following at your local conf file: PACKAGE_EXCLUDE = "dbus-tools". Best Regards, Bruno Bottazzini > > > RREPLACES_${PN} += "${OLDPKGNAME}" > > > > FILES_${PN} = "${bindir}/dbus-daemon* \ > > @@ -64,6 +64,12 @@ FILES_${PN} = "${bindir}/dbus-daemon* \ > > FILES_${PN}-lib = "${libdir}/lib*.so.*" > > RRECOMMENDS_${PN}-lib = "${PN}" > > FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool" > > +FILES_${PN}-tools += "${bindir}/dbus-uuidgen \ > > + ${bindir}/dbus-cleanup-sockets \ > > + ${bindir}/dbus-monitor \ > > + ${bindir}/dbus-launch \ > > + ${bindir}/dbus-run-session" > > +RRECOMMENDS_${PN} = "${PN}-tools" > > > > pkg_postinst_dbus() { > > # If both systemd and sysvinit are enabled, mask the dbus-1 init script > > >