From: Mingli Yu <mingli...@windriver.com>

Set prefix to fix below issue when usrmerge
enabled in DISTRO_FEATURES

| WARNING: ocfs2-tools-1.8.5-r0 do_package: QA Issue: ocfs2-tools: 
Files/directories were installed but not shipped in any package:
  /sbin/mount.ocfs2
  /sbin/o2cb
  /sbin/o2cluster
  /sbin/mkfs.ocfs2
  /sbin/tunefs.ocfs2
  /sbin/fsck.ocfs2
  /sbin/debugfs.ocfs2
  /sbin/o2cb_ctl
  /sbin/ocfs2_hb_ctl
  /sbin/mounted.ocfs2
  /sbin/o2image
| ERROR: QA Issue: ocfs2-tools-dbg package is not obeying usrmerge distro 
feature. /sbin should be relocated to /usr. [usrmerge]

Signed-off-by: Mingli Yu <mingli...@windriver.com>
---
 meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.5.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.5.bb 
b/meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.5.bb
index 8cf82a8..a0376ec 100644
--- a/meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.5.bb
+++ b/meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.5.bb
@@ -48,6 +48,7 @@ EXTRA_OECONF = " \
     --enable-ocfs2console=no \
     --enable-dynamic-fsck=yes \
     --enable-dynamic-ctl=yes \
+    --with-root-prefix=${root_prefix} \
 "
 
 do_configure_prepend () {
-- 
2.7.4

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to