lmbench: Use update alternatives for stream

stream is also provided by imagemagick as an alternative

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2020-08-31 08:31:21 -07:00
parent 08779114c9
commit 0bfce1c8eb

View File

@ -5,7 +5,7 @@ LICENSE = "GPLv2 & GPL-2.0-with-lmbench-restriction"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
file://COPYING-2;md5=8e9aee2ccc75d61d107e43794a25cdf9"
inherit autotools-brokensep
inherit autotools-brokensep update-alternatives
DEPENDS += "libtirpc"
CFLAGS += "-I${STAGING_INCDIR}/tirpc"
@ -89,3 +89,7 @@ pkg_postinst_${PN} () {
RDEPENDS_${PN} = "perl"
FILES_${PN} += "${datadir}/lmbench"
ALTERNATIVE_${PN} = "stream"
ALTERNATIVE_LINK_NAME[stream] = "${bindir}/stream"