[yocto] Install files in sysroot but not rootfs (ala -dev)

Khem Raj raj.khem at gmail.com
Tue Feb 6 11:04:50 PST 2018


On Tue, Feb 6, 2018 at 10:44 AM, Koehler, Yannick
<yannick.koehler at hpe.com> wrote:
> I have some file to install in the sysroot/${MACHINE}/usr/share/cmake/Modules, but when I do so, those files also end up on the target.
>
> Is moving those files from FILES_${PN} to FILES_${PN}-dev the proper way to fix that and what is the logic that make it so that -dev packages are installed in the sysroot but not in the rootfs?

yes

>
> --
> Yannick Koehler
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list