dbus and rootfs final image
Javi Roman
javiroman at kernel-labs.org
Tue May 6 10:10:11 UTC 2008
On Mon, May 5, 2008 at 2:51 PM, Javi Roman <javiroman at kernel-labs.org> wrote:
> Hi all!
>
> I'm making a custom distro using the habitual image file:
>
> ---- my-image.bb ------
> require packages/images/bootstrap-image.bb
>
> export IMAGE_INSTALL += "j2re \
> ( ... a lot of packages ...)
> grub \
> dbus \
> gpsd
> "
> inherit image
>
> export IMAGE_BASENAME = "my-image"
> ----------------------------
>
> When I'm going to rebuild the whole image:
>
> $ bitbake my-image -c rebuild -f
>
> When bitbake populates the rootfs image fails with a error message:
>
> log_check: Matched keyword: [Cannot find package]
> Collected errors:
> Cannot find package dbus.
> Check the spelling or perhaps run 'ipkg update'
>
> Nevertheless, bitbake builds "dbus" package without problems, the
> package is perfectly accessible at:
> build/tmp/deploy/ipk/i586/dbus-1_1.1.4-r2_i586.ipk
>
> Anybody can help me?
>
Hello.
The problem was fixed changing:
DEBIANNAME_${PN} = "dbus-1"
by
DEBIANNAME_${PN} = "dbus"
at dbus.inc
Bitbake search for "dbus" package name when parses bb files, but
Bitbake didn't find "dbus" package in the rootfs populating phase
(ipkg-cl install ....) because of the name of the built package was
"dbus-1".
I don't know if it is my fault otherwise it is a OE bb file problem.
Thanks for all.
More information about the Openembedded-users
mailing list