[yocto] Task Build Issue

Khem Raj raj.khem at gmail.com
Fri Feb 3 21:03:22 PST 2012


On Fri, Feb 3, 2012 at 7:27 PM, Rudolf Streif <rudolf.streif at gmail.com> wrote:
> I created this task for test purposes:
>
> DESCRIPTION = "My Custom Tasks"
>
> LICENSE = "MIT"
> LIC_FILES_CHKSUM =
> "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
>
> file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
>
> PACKAGES = "\
>    task-mytask-apps \
>    task-mytask-apps-dbg \
>    task-mytask-apps-dev \
>    task-mytask-tools \
>    task-mytask-tools-dbg \
>    task-mytask-tools-dev \
>    "
>
> RDEPENDS_task-mytask-apps = "\
>   sqlite3 \
>   python \
>   python-sqlite3"
>
> RDEPENDS_task-mytask-tools = "\
>   sudo \
>   gzip \
>   tar"
>
> I added created a bb containing IMAGE_INSTALL = "task-core-boot
> task-base-extended task-mytask-apps"
>
> Bitbake builds the task without any error message. However, building
> the rootfs fails with
>
> | Processing task-mytask-apps...
> | Unable to find package task-mytask-apps (task-mytask-apps)!
>
> log.do_package_write_rpm: contains NOTE: Not creating empty RPM
> package for task-mytask-apps.
>

add ALLOW_EMPTY_ task-mytask-apps = "1" to your recipe

> Indeed deploy-rpms of the package is empty however, the deploy-rpms
> dirs of the dependencies contain the necessary packages.
>
> Any help is appreciated.
>
> Thanks,
> Rudi
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list