* [meta-virtualization][PATCH] nagios-core: fix do_install during cross builds
@ 2020-11-17 22:33 sakib.sajal
2020-11-19 16:06 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: sakib.sajal @ 2020-11-17 22:33 UTC (permalink / raw)
To: meta-virtualization
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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [meta-virtualization][PATCH] nagios-core: fix do_install during cross builds
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
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2020-11-19 16:06 UTC (permalink / raw)
To: sakib.sajal; +Cc: meta-virtualization
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
>
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-19 16:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.