[oe] [meta-networking][PATCH] ipvsadm: fix usrmerge install path

mingli.yu at windriver.com mingli.yu at windriver.com
Fri Aug 17 09:38:30 UTC 2018


From: Mingli Yu <Mingli.Yu at windriver.com>

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 <Mingli.Yu at windriver.com>
---
 meta-networking/recipes-support/ipvsadm/ipvsadm_1.29.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.29.bb b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.29.bb
index 58407a1..4f3c16d 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
 }
 
-- 
2.7.4




More information about the Openembedded-devel mailing list