aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorMingli Yu <Mingli.Yu@windriver.com>2018-08-17 17:38:30 +0800
committerKhem Raj <raj.khem@gmail.com>2018-08-19 16:09:28 -0700
commitafb81129061d7d856ed88fce8cc052e01770c7cd (patch)
tree1346767a4f85791904f9cc0bc88584dd688710c2 /meta-networking
parent4dfe0fe8ed9a02aed37a9503cd8da70de64be906 (diff)
downloadmeta-openembedded-contrib-afb81129061d7d856ed88fce8cc052e01770c7cd.tar.gz
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 <Mingli.Yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-support/ipvsadm/ipvsadm_1.29.bb1
1 files changed, 1 insertions, 0 deletions
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
}