All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
To: Arno Steffens <star@gmx.li>, "Wold, Saul" <saul.wold@intel.com>
Cc: poky@yoctoproject.org
Subject: Re: gnupg strip down
Date: Fri, 28 Apr 2017 11:35:46 +0300	[thread overview]
Message-ID: <CAHiDW_FWzvCn7t0qzmrzSMpcbkqPRABNqgqA+gy-dWMW9U9sWA@mail.gmail.com> (raw)
In-Reply-To: <trinity-847348e3-eb40-41b0-8cf4-a93cdd046688-1493364663957@3capp-gmx-bs03>

[-- Attachment #1: Type: text/plain, Size: 1589 bytes --]

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).

 - Jussi

[-- Attachment #2: Type: text/html, Size: 2117 bytes --]

  reply	other threads:[~2017-04-28  8:36 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 [this message]
2017-04-28 12:30               ` Wold, Saul
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=CAHiDW_FWzvCn7t0qzmrzSMpcbkqPRABNqgqA+gy-dWMW9U9sWA@mail.gmail.com \
    --to=jussi.kukkonen@intel.com \
    --cc=poky@yoctoproject.org \
    --cc=saul.wold@intel.com \
    --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.