[yocto] QA error while building bitbake package

Renjith Vijayan renjithvjn at gmail.com
Sat Feb 6 21:37:54 PST 2016


Hi All,

I am new to Yocto bitbake concept & while building my package running in to
following QA build error.

ERROR: QA Issue: test-repo: Files/directories were installed but not
shipped in any package:
  /etc
  /etc/test
  /etc/test/yamls
  /etc/test/yamls/abc1.yaml
  /etc/test/yamls/abc2.yaml
  /etc/test/yamls/abc3.yaml
Please set FILES such that these items are packaged. Alternatively if they
are unneeded, avoid installing them or delete them within do_install.
[installed-vs-shipped]

The following is my bb file content for installing these paths:

do_compile() {
     cd ${S}
     distutils_do_compile
     # Cmake compile changes to the B directory
     cmake_do_compile
}

do_install() {
     cd ${S}
     distutils_do_install
     # Cmake compile changes to the B directory
     cmake_do_install
}

do_install_append(){
   install -d   ${D}/etc/test/yamls
   install -c -m 755 ${S}/conf/*.yaml ${D}/etc/test/yamls
}

FILES_${PN} += "/usr/lib/cli/plugins/ \
                /etc \
                /etc/test \
                /etc/test/yamls \
                /etc/test/yamls/abc1.yaml \
                /etc/test/yamls/abc2.yamll \
                /etc/test/yamls/abc3.yaml"

inherit  setuptools cmake


Could anyone point to me what i am doing wrong here?

Thanks in Advance,
Renjith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160207/e5e62ba1/attachment.html>


More information about the yocto mailing list