无法将文档复制到 /usr/share/doc ${docdir} yocto

问题描述 投票:0回答:2

我正在使用 yocto,我想将一些文档复制到 rootfs 中。 当我复制它们时,它们就存在于里面 包分割/Ex-doc/usr/share/doc/versions/Ex.txt

Now i want to copy from here into rootfs, below are the changes i have made inside recipe

do_install() {
   install -m 0755 -d ${D}${docdir}/versions
   install -m 0755 ${S}/Ex.txt ${D}${docdir}/versions
}

FILES_${PN}-doc += "${docdir}/versions"

But i am not able to see /usr/share/doc dir inside rootfs. Please point me where i am doing wrong.

Thank You
yocto
2个回答
0
投票

您是否将 FILES_${PN}-doc 包添加到映像中安装的包列表中?


0
投票

解决这个问题吗?我这里也有这种情况吗?

© www.soinside.com 2019 - 2024. All rights reserved.