Patchwork [4/4] nfs-utils: fix QA issue

login
register
mail settings
Submitter Hongxu Jia
Date Nov. 4, 2013, 7:13 a.m.
Message ID <41d756b2c747f54fe1becef434e9a18b821a505d.1383549031.git.hongxu.jia@windriver.com>
Download mbox | patch
Permalink /patch/61077/
State New
Headers show

Comments

Hongxu Jia - Nov. 4, 2013, 7:13 a.m.
...
WARNING: QA Issue: nfs-utils: Found a reference to /usr/ in /home/jiahongxu/yocto/build-20131025-gcc5/bitbake_build/tmp/work/x86_64-wrs-linux/nfs-utils/1.2.8-r1/packages-split/nfs-utils/sbin/osd_login
WARNING: QA Issue: Shell scripts in base_bindir and base_sbindir should not reference anything in exec_prefix
...

Move osd_login from ${base_sbindir} to ${sbindir} fixed this issue

[YOCTO #5142]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.8.bb | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.8.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.8.bb
index e3e8136..5329822 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.8.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.8.bb
@@ -89,4 +89,6 @@  do_install_append () {
 	rm -f ${D}${sbindir}/rpcdebug
 	rm -f ${D}${sbindir}/rpcgen
 	rm -f ${D}${sbindir}/locktest
+
+	mv ${D}${base_sbindir}/osd_login ${D}${sbindir}/osd_login
 }