Dear all sirs:

Using bitbake rdk-generic-hybrid-image and add some lines in T:\17.1_build_6_415\meta-rdk\recipes-extended\mediastreamer\rmfstreamer_git.bb.

The following error always happen, please kindly advise. Thanks so much.

Is there a way I can ship more files when building an out of tree kernel module?

  1. Add some lines in do_install_append() 
    1. install -d ${D}/opt
      install -m 0644 ${WORKDIR}/vidiPathEnabled ${D}/opt/

      install -m 0644 ${WORKDIR}/rmfconfig.ini ${D}${sysconfdir}/
      install -d ${D}/usersettings
      install -m 0644 ${WORKDIR}/TunerConfig ${D}/usersettings/

  2. ERROR: QA Issue: rmfstreamer: Files/directories were installed but not shipped in any package:
    /usersettings
    /opt
    /usersettings/TunerConfig
    /opt/vidiPathEnabled
    Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
    rmfstreamer: 4 installed and not shipped files.
    ERROR: QA run found fatal errors. Please consider fixing them.
    ERROR: Function failed: do_package_qa
    ERROR: Logfile of failure stored in: /home/jack/17.1_build_6_415/build-brcm97271ip-refboard/tmp/work/cortexa15t2hf-vfp-neon-rdk-linux-gnueabi/rmfstreamer/rdkv-20170417+gitrdkv-20170417-r0/temp/log.do_package.14707
    ERROR: Task 1716 (/home/jack/17.1_build_6_415/meta-rdk/recipes-extended/mediastreamer/rmfstreamer_git.bb, do_package) failed with exit code '1'

Best regards

Jack

  • No labels

2 Comments

  1. Hi Jack

    Are you still facing the issue.? Looks like the error is because you need to add those files to package using the macro

    FILES_${PN}


  2. Dear Deepthi:

    Thanks for your instruction and the following command can work well. Thanks.
    FILES_${PN} += "opt/*"

    Best regards

    Jack