代码之家  ›  专栏  ›  技术社区  ›  ilya1725

Bitbake QA要求删除{bindir}

  •  0
  • ilya1725  · 技术社区  · 6 年前

    我有一个相对简单的收据文件( ntp )没有安装 {bindir} . 但是,除非我显式删除 {bindir} do_install_append 我听到一个质量保证错误说:

    ERROR: ntp-4.2.8p9-r0 do_package: QA Issue: ntp: Files/directories were installed but not shipped in any package:
    /usr/bin
    Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
    

    ntp:1已安装但未提供的文件[已安装vs已发货] 错误:ntp-4.2.8p9-r0 do_包:发现致命的qa错误,任务失败。

    为什么这个配方需要去除有没有其他的配方正在安装 {bindir} ?

    1 回复  |  直到 6 年前
        1
  •  0
  •   BenKwan    6 年前

    有一些默认的do_安装由 https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/base.bbclass . 如果你只想安装你想要的请覆盖do_install()而不是do_install_append()。否则需要添加所有文件文件${pn}。