From: "Bruce Ashfield" <bruce.ashfield@gmail.com>
To: sakib.sajal@windriver.com
Cc: meta-virtualization@lists.yoctoproject.org
Subject: Re: [meta-virtualization][PATCH] nagios-core: fix do_install during cross builds
Date: Thu, 19 Nov 2020 11:06:50 -0500 [thread overview]
Message-ID: <20201119160647.GA9432@gmail.com> (raw)
In-Reply-To: <20201117223336.39599-1-sakib.sajal@windriver.com>
merged.
Bruce
In message: [meta-virtualization][PATCH] nagios-core: fix do_install during cross builds
on 17/11/2020 sakib.sajal@windriver.com wrote:
> Upstream started stripping built binaries by default, using
> HOSTTOOLS install to strip binaries that are different in
> architecture from the host, raising errors:
>
> strip: Unable to recognise the format of the input file
> TOPDIR/tmp-glibc/hosttools/install: strip process terminated abnormally
>
> Hence, build unstripped binaries and let oe build system
> strip the binaries during do_package.
>
> Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
> ---
> recipes-extended/nagios/nagios-core_4.4.6.bb | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/recipes-extended/nagios/nagios-core_4.4.6.bb b/recipes-extended/nagios/nagios-core_4.4.6.bb
> index aaa722c..4cbec2b 100644
> --- a/recipes-extended/nagios/nagios-core_4.4.6.bb
> +++ b/recipes-extended/nagios/nagios-core_4.4.6.bb
> @@ -80,7 +80,7 @@ do_compile() {
> }
>
> do_install() {
> - oe_runmake 'DESTDIR=${D}' install
> + oe_runmake 'DESTDIR=${D}' install-unstripped
> oe_runmake 'DESTDIR=${D}' install-init
> oe_runmake 'DESTDIR=${D}' install-config
> oe_runmake 'DESTDIR=${D}' install-commandmode
> @@ -158,5 +158,3 @@ CVE_PRODUCT = "nagios_core"
> ALTERNATIVE_PRIORITY_${PN} = '20'
> ALTERNATIVE_${PN} = "nagios"
> ALTERNATIVE_LINK_NAME[nagios] = "${localstatedir}/nagios"
> -
> -INSANE_SKIP_${PN} = "already-stripped"
> --
> 2.29.2
>
>
>
>
prev parent reply other threads:[~2020-11-19 16:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-17 22:33 [meta-virtualization][PATCH] nagios-core: fix do_install during cross builds sakib.sajal
2020-11-19 16:06 ` Bruce Ashfield [this message]
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=20201119160647.GA9432@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=meta-virtualization@lists.yoctoproject.org \
--cc=sakib.sajal@windriver.com \
/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.