[oe-commits] [meta-openembedded] 34/47: ipvsadm: fix usrmerge install path

git at git.openembedded.org git at git.openembedded.org
Sun Aug 19 23:11:46 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master
in repository meta-openembedded.

commit afb81129061d7d856ed88fce8cc052e01770c7cd
Author: Mingli Yu <Mingli.Yu at windriver.com>
AuthorDate: Fri Aug 17 17:38:30 2018 +0800

    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 at windriver.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.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
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list