<div dir="ltr">no I&#39;m not using -e switch, e.g: bitbake console-image<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-05 13:04 GMT+03:00 Mats Kärrman <span dir="ltr">&lt;<a href="mailto:Mats.Karrman@tritech.se" target="_blank">Mats.Karrman@tritech.se</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi again,<br>
<div><div class="h5"><br>
On Saturday, July 05, 2014 11:55 AM, Mats Kärrman wrote:<br>
&gt; On Saturday, July 05, 2014 10:42 AM, Life Life wrote:<br>
&gt;&gt; I&#39;m trying build simple image and I run this command bitbake console-image After I see this error. How to solve this problem ?<br>
&gt;&gt; ERROR: ParseError at /home/setup-scripts/sources/openembedded-core/meta/classes/image.bbclass:1: Could not inherit file classes/rootfs_${IMAGE_PKGTYPE}.bbclass<br>
&gt;<br>
&gt; If you run your build command with the &#39;-e&#39; switch, what do you get for IMAGE_PKGTYPE? E.g:<br>
&gt;<br>
&gt; $ bitbake console-image -e |egrep &#39;^IMAGE_PKGTYPE&#39;<br>
<br>
</div></div>Or, to cut things short a bit..<br>
Your configuration, e.g. config/local.conf should contain something like this:<br>
<br>
PACKAGE_CLASSES = &quot;package_ipk&quot;<br>
<br>
or<br>
<br>
PACKAGE_CLASSES = &quot;package_rpm&quot;<br>
<br>
This class will then set a value for IMAGE_PKGTYPE.<br>
<br>
BR // Mats</blockquote></div><br></div>