I would like to know the way to embed files in a yocto recipe so that I can find them on the embedded side (yocto image deployed on an embedded platform). I'm actually doing it with the SRC_URI += instruction in the .bb file but I do not find any of the files I want once booted on my yocto image. Thanks.
If I understood correctly, you are looking to implement svn / png files in your image. You can simply install them in your rootfs(in a folder like /home/root/images) with a recipe as follow :
SUMMARY = "Simple recipe"
DESCRIPTION = "simple file deployment"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
SRC_URI = "file://your.png file://COPYING"
S = "${WORKDIR}"
do_install(){
install -d ${D}/home/root/images
install -m WXYZ your.png ${D}/home/root/images
}
FILES_${PN} += "/home/root/images/your.png"
Note that WXYZ
are the permissions.