Skip to contentSkip to conversation

ipvsadm: fix usrmerge install path

PATCH New [email protected] 1 participant 1 message Aug 17, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipvsadm: fix usrmerge install path

From: Mingli Yu <[email protected]>

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]

---
 meta-networking/recipes-support/ipvsadm/ipvsadm_1.29.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-support/ipvsadm/ipvsadm_1.29.bb +1 -0
index 58407a1..4f3c16d 100644
@@ -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
 }
 
Signature · 1 line
2.7.4