diff options
| author | sakib.sajal@windriver.com <sakib.sajal@windriver.com> | 2020-11-17 17:33:36 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-11-19 11:05:44 -0500 |
| commit | 968e4116a8dd54acf22c948e56d6f12653def922 (patch) | |
| tree | 4113bb373959f081af8172bd14d420bc13d5542f | |
| parent | 9fe997733d9bad4ac24dfb41e91a0e06b9e82791 (diff) | |
| download | meta-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.bb | 4 |
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 | ||
| 82 | do_install() { | 82 | do_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" | |||
| 158 | ALTERNATIVE_PRIORITY_${PN} = '20' | 158 | ALTERNATIVE_PRIORITY_${PN} = '20' |
| 159 | ALTERNATIVE_${PN} = "nagios" | 159 | ALTERNATIVE_${PN} = "nagios" |
| 160 | ALTERNATIVE_LINK_NAME[nagios] = "${localstatedir}/nagios" | 160 | ALTERNATIVE_LINK_NAME[nagios] = "${localstatedir}/nagios" |
| 161 | |||
| 162 | INSANE_SKIP_${PN} = "already-stripped" | ||
