[OE-core] Could not inherit file classes/rootfs_${IMAGE_PKGTYPE}.bbclass

Life Life sadlife1990 at gmail.com
Sat Jul 5 11:11:42 UTC 2014


no I'm not using -e switch, e.g: bitbake console-image


2014-07-05 13:04 GMT+03:00 Mats Kärrman <Mats.Karrman at tritech.se>:

> Hi again,
>
> On Saturday, July 05, 2014 11:55 AM, Mats Kärrman wrote:
> > On Saturday, July 05, 2014 10:42 AM, Life Life wrote:
> >> I'm trying build simple image and I run this command bitbake
> console-image After I see this error. How to solve this problem ?
> >> ERROR: ParseError at
> /home/setup-scripts/sources/openembedded-core/meta/classes/image.bbclass:1:
> Could not inherit file classes/rootfs_${IMAGE_PKGTYPE}.bbclass
> >
> > If you run your build command with the '-e' switch, what do you get for
> IMAGE_PKGTYPE? E.g:
> >
> > $ bitbake console-image -e |egrep '^IMAGE_PKGTYPE'
>
> Or, to cut things short a bit..
> Your configuration, e.g. config/local.conf should contain something like
> this:
>
> PACKAGE_CLASSES = "package_ipk"
>
> or
>
> PACKAGE_CLASSES = "package_rpm"
>
> This class will then set a value for IMAGE_PKGTYPE.
>
> BR // Mats
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140705/136c4ac4/attachment-0002.html>


More information about the Openembedded-core mailing list