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

Mats Kärrman Mats.Karrman at tritech.se
Sat Jul 5 10:04:29 UTC 2014


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


More information about the Openembedded-core mailing list