All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Wold, Saul" <saul.wold@intel.com>
To: "star@gmx.li" <star@gmx.li>,
	"Kukkonen, Jussi" <jussi.kukkonen@intel.com>
Cc: "poky@yoctoproject.org" <poky@yoctoproject.org>
Subject: Re: gnupg strip down
Date: Fri, 28 Apr 2017 12:30:23 +0000	[thread overview]
Message-ID: <1493382620.10199.3.camel@intel.com> (raw)
In-Reply-To: <CAHiDW_FWzvCn7t0qzmrzSMpcbkqPRABNqgqA+gy-dWMW9U9sWA@mail.gmail.com>

On Fri, 2017-04-28 at 11:35 +0300, Jussi Kukkonen wrote:
> On 28 April 2017 at 10:31, Arno Steffens <star@gmx.li> wrote:
> > I did as advised, created a bbappend for gnupg, like that:
> > 
> > do_install_append() {
> >         rm ${D}${bindir}/gpgv
> >         rm ${D}${bindir}/gpgsm
> >         rm ${D}${bindir}/gpg-connect-agent
> >         rm ${D}${bindir}/dirmngr-client
> >         rm ${D}${bindir}/gpgscm
> >         rm ${D}${bindir}/watchgnupg
> >         rm ${D}${bindir}/gpgparsemail
> >         rm ${D}${bindir}/gpgconf
> >         rm ${D}${bindir}/dirmngr
> >         rm ${D}${bindir}/gpgtar
> >         rm ${D}${bindir}/gpgv2
> >         rm ${D}${bindir}/gpg-agent
> >         rm ${D}${bindir}/kbxutil
> >         rm ${D}/usr/sbin/*
> >         rmdir ${D}/usr/sbin
> >         rm ${D}/usr/share/gnupg/help*
> >         rm ${D}/usr/libexec/gpg-*
> >         rm ${D}/usr/libexec/scdaemon
> >         rmdir ${D}/usr/libexec
> > }
> > 
> > First I get errors, cleaning files and leave directory, but than I
> > get it, that I have to remove empty folders too. Ok, that could be
> > done smarter. So just gpg and few small files left.
> > 
> > But I don't have an idea howto remove the libs, that seems to be
> > required only by the removed binaries,
> > like libgnutils.so, libgmp.so - which are rather big ... 
> 
> I don't see evidence that the binaries you mentioned would depend on
> those libraries (at least with current sysroot behaviour -- it might
> happen by mistake on older releases). But there is this line in the
> recipe:
> RDEPENDS_${PN} = "gnutls"
> 
> Saul, do you happen to remember why that was added (more than two
> years ago in poky 31059be9).
> 
Sorry no, too long ago, but looking at the patch it seems that the
dirmngr_LDADD had LIBGNUTLS before and after the change so possibly
that showed it should have been available.

If something has changed with dirmngr than maybe that can be removed.


>  - Jussi

  reply	other threads:[~2017-04-28 12:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-25 12:57 gnupg strip down star
2017-04-25 13:10 ` Alexander Kanavin
2017-04-26  5:42   ` Arno Steffens
2017-04-26 10:54     ` Alexander Kanavin
2017-04-26 12:52       ` Arno Steffens
2017-04-26 13:18         ` Alexander Kanavin
2017-04-28  7:31           ` Arno Steffens
2017-04-28  8:35             ` Jussi Kukkonen
2017-04-28 12:30               ` Wold, Saul [this message]
2017-05-02 10:06                 ` Arno Steffens
2017-05-02 10:38                   ` Jussi Kukkonen
2017-05-02 12:14                     ` Arno Steffens
2017-04-28 10:06             ` Anders Darander
2017-05-02  9:59               ` Arno Steffens
2017-05-02 13:30                 ` Anders Darander

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=1493382620.10199.3.camel@intel.com \
    --to=saul.wold@intel.com \
    --cc=jussi.kukkonen@intel.com \
    --cc=poky@yoctoproject.org \
    --cc=star@gmx.li \
    /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.