summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsakib.sajal@windriver.com <sakib.sajal@windriver.com>2020-11-17 17:33:36 -0500
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-11-19 11:05:44 -0500
commit968e4116a8dd54acf22c948e56d6f12653def922 (patch)
tree4113bb373959f081af8172bd14d420bc13d5542f
parent9fe997733d9bad4ac24dfb41e91a0e06b9e82791 (diff)
downloadmeta-virtualization-968e4116a8dd54acf22c948e56d6f12653def922.tar.gz
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 <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-extended/nagios/nagios-core_4.4.6.bb4
1 files changed, 1 insertions, 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() {
80} 80}
81 81
82do_install() { 82do_install() {
83 oe_runmake 'DESTDIR=${D}' install 83 oe_runmake 'DESTDIR=${D}' install-unstripped
84 oe_runmake 'DESTDIR=${D}' install-init 84 oe_runmake 'DESTDIR=${D}' install-init
85 oe_runmake 'DESTDIR=${D}' install-config 85 oe_runmake 'DESTDIR=${D}' install-config
86 oe_runmake 'DESTDIR=${D}' install-commandmode 86 oe_runmake 'DESTDIR=${D}' install-commandmode
@@ -158,5 +158,3 @@ CVE_PRODUCT = "nagios_core"
158ALTERNATIVE_PRIORITY_${PN} = '20' 158ALTERNATIVE_PRIORITY_${PN} = '20'
159ALTERNATIVE_${PN} = "nagios" 159ALTERNATIVE_${PN} = "nagios"
160ALTERNATIVE_LINK_NAME[nagios] = "${localstatedir}/nagios" 160ALTERNATIVE_LINK_NAME[nagios] = "${localstatedir}/nagios"
161
162INSANE_SKIP_${PN} = "already-stripped"