mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
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>
This commit is contained in:
parent
9fe997733d
commit
968e4116a8
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user