[yocto] Need help for custom recipe

Bipnesh, Abhinav (Abhinav) abhinavbipnesh at avaya.com
Mon Feb 2 06:04:49 PST 2015


Hi,

I am trying to write an custom recipe for one of the application. In the do_install() I am using an external script for creating rpm of the application. Below is the recipe file which I have written.

SUMMARY = "Hello World"
DESCRIPTION = "A recipe for HelloWorld"

LICENSE = "MIT"
LIC_FILES_CHKSUM = file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302<file:///\\$%7bCOMMON_LICENSE_DIR%7d\MIT;md5=0835ade698e0bcf8506ecda2f7b4f302>

# Upstream names releases after SVN revs
#SRCREV = "100"
SRCREV = "${AUTOREV}"
PV = "r${SRCREV}"
DEPENDS = "boost util-linux curl"

SRC_URI = "file://helloworld.c"
S = "${WORKDIR}

do_install () {
    sh ${WORKDIR}/ build.sh

}

Now as this is a makefile based project. Now when I fire bitbake helloworld I am able to build the RPM of the package using build.sh file.

But when I try to check these RPM under <build_dir>/tmp/deploy it is not found.

Any thoughts how to fix the same.

Thanks,
Abhinav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150202/7fb9f269/attachment.html>


More information about the yocto mailing list