All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bottazzini, Bruno" <bruno.bottazzini@intel.com>
To: Andreas Oberritter <obi@opendreambox.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/3] dbus: split tools package.
Date: Thu, 05 Mar 2015 11:29:07 -0300	[thread overview]
Message-ID: <1425565747.2831.4.camel@bottazzini-ThinkPad-T430> (raw)
In-Reply-To: <54F863AC.1050204@opendreambox.org>

On Qui, 2015-03-05 at 15:09 +0100, Andreas Oberritter wrote:
> On 05.03.2015 14:16, Bottazzini, Bruno wrote:
> > 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 <gustavo.barbieri@intel.com>
> >>>
> >>> 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 <bruno.bottazzini@intel.com>
> >>> ---
> >>>  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 ?
> 
> No, I haven't. What kind of problem will it raise?

I receive the following problem:
ERROR: Nothing RPROVIDES 'dbus-native-tools-native' (but
virtual:native:PATH/poky/meta/recipes-core/dbus/dbus_1.8.10.bb RDEPENDS
on or otherwise requires it

Any suggestion of how to fix it?
> 
> It looks wrong, because the package dbus doesn't provide dbus-tools, but
> dbus-tools is instead provided by dbus-tools itself (with your patch
> applied).
> 
> Furthermore, having "native" twice in a package name seems odd, but
> there's no reason for target packages to provide anything "native" in
> the first place.
> 
> Regards,
> Andreas
> 
> > 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
> >>>
> >>
> > 
> > 
> 




  reply	other threads:[~2015-03-05 14:29 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bruno.bottazzini@intel.com>
2015-01-21 20:00 ` [PATCH 0/2] kmod new packageconfig and dbus split package Bruno Bottazzini
2015-01-21 20:00   ` [PATCH 1/2] kmod: new PACKAGECONFIG debug and logging to help reduce binary size Bruno Bottazzini
2015-01-21 20:00   ` [PATCH 2/2] dbus: split tools package Bruno Bottazzini
2015-01-28 15:47   ` [PATCH 0/2] kmod new packageconfig and dbus split package Bottazzini, Bruno
2015-01-28 16:00     ` Burton, Ross
2015-01-28 18:55       ` Dan McGregor
2015-01-28 19:57         ` Burton, Ross
2015-02-02 12:39           ` Bottazzini, Bruno
2015-02-03 18:21 ` [PATCH] systemd: update version from 216 to 218 Bruno Bottazzini
2015-02-03 18:21   ` Bruno Bottazzini
2015-02-03 21:23     ` Randy Witt
2015-02-03 21:33       ` Bottazzini, Bruno
2015-02-04 11:48     ` Enrico Scholz
2015-02-04 17:04       ` Bottazzini, Bruno
2015-02-04 17:59         ` Enrico Scholz
2015-02-04 17:04 ` [PATCH v2 0/2] " Bruno Bottazzini
2015-02-04 17:04   ` [PATCH v2 1/2] systemd: update " Bruno Bottazzini
2015-02-04 17:04   ` [PATCH v2 2/2] systemd: split modules into packages Bruno Bottazzini
2015-02-06 18:45     ` Randy Witt
2015-03-02 20:21       ` Bottazzini, Bruno
2015-03-04  9:22         ` Anders Darander
2015-02-26 19:29 ` [PATCH] mkefidisk: change filesystem to be writeable on grub Bruno Bottazzini
2015-02-26 21:44   ` Randy Witt
2015-02-26 22:21     ` Bottazzini, Bruno
2015-02-27  1:05       ` randy.e.witt
2015-03-03 10:26         ` Patrick Ohly
2015-03-04 21:27 ` [PATCH 0/3] systemd and dbus split into packages Bruno Bottazzini
2015-03-04 21:27   ` [PATCH 1/3] dbus: split tools package Bruno Bottazzini
2015-03-05 11:01     ` Andreas Oberritter
2015-03-05 13:16       ` Bottazzini, Bruno
2015-03-05 14:09         ` Andreas Oberritter
2015-03-05 14:29           ` Bottazzini, Bruno [this message]
2015-03-05 14:49             ` Andreas Oberritter
2015-03-05 16:05               ` Bottazzini, Bruno
2015-03-04 21:27   ` [PATCH 2/3] systemd: verify if files test-udev and systemd-journal-flush exists Bruno Bottazzini
2015-03-04 21:27   ` [PATCH 3/3] systemd: split modules into packages Bruno Bottazzini
2015-03-05 14:28     ` Anders Darander
2015-03-05 16:14       ` Bottazzini, Bruno
2015-03-06  8:23         ` Anders Darander
2015-03-06 14:03           ` Bottazzini, Bruno
2015-03-06 22:51             ` Khem Raj
2015-03-09 13:37               ` Bottazzini, Bruno
2015-03-09 15:32                 ` Khem Raj
2015-03-09 16:08                   ` Bottazzini, Bruno
2015-03-25 21:49 ` [PATCH v3 0/4] systemd and dbus split " Bruno Bottazzini
2015-03-25 21:49   ` [PATCH 1/4] dbus: split tools package Bruno Bottazzini
2015-03-25 21:49   ` [PATCH 2/4] systemd: verify if files test-udev and systemd-journal-flush exists Bruno Bottazzini
2015-03-25 21:49   ` [PATCH 3/4] systemd: split modules into packages Bruno Bottazzini
2015-03-26  8:29     ` Anders Darander
2015-03-26 11:56       ` Otavio Salvador
2015-03-26 13:40         ` Bottazzini, Bruno
2015-03-26 13:43           ` Otavio Salvador
2015-03-26 13:53             ` Bottazzini, Bruno
2015-03-26 13:59               ` Otavio Salvador
2015-03-27 14:57           ` Anders Darander
2015-03-27 17:09             ` Bottazzini, Bruno
2015-03-27 17:11               ` Otavio Salvador
2015-03-27 17:13                 ` Bottazzini, Bruno
2015-03-26 17:25         ` Khem Raj
2015-03-26  8:52     ` Andreas Oberritter
2015-03-26 13:33       ` Bottazzini, Bruno
2015-03-26 13:38         ` Otavio Salvador
2015-03-25 21:49   ` [PATCH 4/4] systemd: v219 with stable fixes Bruno Bottazzini
2015-03-30 13:05     ` Bottazzini, Bruno
2015-03-30 13:40       ` Otavio Salvador
2015-03-30 17:42         ` Bottazzini, Bruno
2015-04-01 10:16     ` Jussi Kukkonen
2015-04-01 11:21       ` Anders Darander
2015-04-01 12:52       ` Bottazzini, Bruno
2015-04-15 15:01         ` Burton, Ross
2015-04-15 15:37           ` Bottazzini, Bruno
2015-04-15 15:53             ` Burton, Ross
2015-04-15 16:29               ` Bottazzini, Bruno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1425565747.2831.4.camel@bottazzini-ThinkPad-T430 \
    --to=bruno.bottazzini@intel.com \
    --cc=obi@opendreambox.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.