Re: How to install files to custom partition?


Alexander Kanavin
 

On Wed, 8 Mar 2023 at 17:34, Sourabh Hegde <hrsourabh011@...> wrote:
Update: Tried below approach

do_install() {
install -d ${D}${custom}/
install -m 0755 ${S}/sample.sh ${D}${custom}/sample.sh
}

FILES_${PN} = " \
${custom}/sample.sh \
"

But, getting the error "Files/directories were installed but not shipped in any package"
This is not enough information. To be able to help, I need to see the
complete recipe, the command you are issuing, and the complete error
message that happens. You can simply publish your work in public git
somewhere as well.

Alex

Join yocto@lists.yoctoproject.org to automatically receive all group messages.