From afb81129061d7d856ed88fce8cc052e01770c7cd Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Fri, 17 Aug 2018 17:38:30 +0800 Subject: ipvsadm: fix usrmerge install path Update SBIN to fix below error when usrmerge enabled in DISTRO_FEATURES. ERROR: QA Issue: ipvsadm-dbg package is not obeying usrmerge distro feature. /sbin should be relocated to /usr. [usrmerge] Signed-off-by: Mingli Yu Signed-off-by: Khem Raj --- meta-networking/recipes-support/ipvsadm/ipvsadm_1.29.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-networking') diff --git a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.29.bb b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.29.bb index 58407a1309..4f3c16dc37 100644 --- a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.29.bb +++ b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.29.bb @@ -34,6 +34,7 @@ do_compile() { } do_install() { + sed -i -e "s;SBIN\t\t= \$(BUILD_ROOT)/sbin;SBIN\t\t= \$(BUILD_ROOT)/$base_sbindir;" ${S}/Makefile oe_runmake 'BUILD_ROOT=${D}' install } -- cgit v1.2.3-54-g00ecf