AnsweredAssumed Answered

Creating own recipe in yocto

Question asked by Manjunath Joshi on Apr 16, 2015
Latest reply on Apr 21, 2015 by Manjunath Joshi

Hello all,


Is there any way that we can create a recipe which can simply copy a file from host computer to the bitbake process so that after the complete bitbake process we may just have the file in the right place in yocto filesystem?


I know this is weird but is there a way? I tried as shown below it didn't work. do_install failure.


this is the .bb file in a new layer i have created.


SUMMARY = "Example to copy from my filesystem to yocto filesystem"

DESCRIPTION = "Not needed"

SECTION = "examples"


LIC_FILES_CHKSUM += "file://README;md5=0d20a0079cbd6add839dcca5f80c7d0b"

PR = "r0"

DEPENDS = "boost"

SRC_URI="file://README \





do_install() {

     install -m 0755 ${WORKDIR}/README  ${D}$/usr/sbin/README