diff options
author | Mingli Yu <Mingli.Yu@windriver.com> | 2018-08-17 17:38:30 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-19 16:09:28 -0700 |
commit | afb81129061d7d856ed88fce8cc052e01770c7cd (patch) | |
tree | 1346767a4f85791904f9cc0bc88584dd688710c2 /meta-networking/recipes-support/ipvsadm | |
parent | 4dfe0fe8ed9a02aed37a9503cd8da70de64be906 (diff) | |
download | meta-openembedded-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/recipes-support/ipvsadm')
-rw-r--r-- | meta-networking/recipes-support/ipvsadm/ipvsadm_1.29.bb | 1 |
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() { | |||
34 | } | 34 | } |
35 | 35 | ||
36 | do_install() { | 36 | do_install() { |
37 | sed -i -e "s;SBIN\t\t= \$(BUILD_ROOT)/sbin;SBIN\t\t= \$(BUILD_ROOT)/$base_sbindir;" ${S}/Makefile | ||
37 | oe_runmake 'BUILD_ROOT=${D}' install | 38 | oe_runmake 'BUILD_ROOT=${D}' install |
38 | } | 39 | } |
39 | 40 | ||