From 968e4116a8dd54acf22c948e56d6f12653def922 Mon Sep 17 00:00:00 2001 From: "sakib.sajal@windriver.com" Date: Tue, 17 Nov 2020 17:33:36 -0500 Subject: [PATCH] nagios-core: fix do_install during cross builds 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 Signed-off-by: Bruce Ashfield --- 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 aaa722c2..4cbec2bf 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"