我有一个相对简单的收据文件(ntp的剥离版本),没有安装{bindir}。但是,除非我显式地删除了{bindir}中的do_install_append,否则我会得到一个QA错误,它说:
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_package:找到致命的QA错误,失败的任务。
为什么这个食谱需要移除?还有什么其他的方法可以安装{bindir}吗?
发布于 2018-07-20 09:26:46
有一些默认的do_install由https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/base.bbclass提供。如果你只想安装你想要的。请重写do_install ()而不是do_install_append ()。否则,需要添加所有文件FILES_${PN}。
https://stackoverflow.com/questions/51433657
复制相似问题