Yocto: Difference between revisions

No edit summary
adds tip for how to list all image recipes
Line 3: Line 3:
sudo apt install gcc g++ \
sudo apt install gcc g++ \
   python3-distutils python-is-python3
   python3-distutils python-is-python3
</pre>
<br />
== Images ==
Images are defined in recipe files. In order to separate them from package recipes, there is a convention to put image recipes into a folder named ''images''. Making use of this, we can list all images defined by all layers via
<pre class="terminal">
ls meta*/recipes*/images/*.bb
</pre>
</pre>
<br />
<br />

Revision as of 2022-11-06T11:56:45

Prerequisites

sudo apt install gcc g++ \
  python3-distutils python-is-python3


Images

Images are defined in recipe files. In order to separate them from package recipes, there is a convention to put image recipes into a folder named images. Making use of this, we can list all images defined by all layers via

ls meta*/recipes*/images/*.bb


Using devtool

Use devtool to make changes to an existing recipe and automatically generate an append recipe from those changes.