Changes

Jump to: navigation, search

MISC-TN-014: Yocto and Debian packetization

3 bytes removed, 10:01, 31 August 2020
Configuring and testing
''Package Management''
''The default package management with Yocto Project is rpm. The i.MX distro now enables Debian as the package management. This can be easily turned off by add <code>PACKAGE_CLASSES</code> set to <code>package_rpm</code> to the <code>local.conf</code> (or creating a custom distro without the Debian package feed <code>PACKAGE_CLASSES = "package_rpm"</code>). With the addition of the Debian package feed, a <code>sources.list</code> can be added <code>/etc/apt</code> that links in Debian's package feed. This allows users to install packages not provided in the image without having to add them to a Yocto image. Because this package feed is not generated by the i.MX Yocto build process, there is no guarantee each package will work with the right dependencies but it allows simpler tools to be provided. Software that is complex and has more dependencies on specific versions might have issues with an external package feed.''
The following example shows the installation of the <code>git</code> package, which is retrieved from the local our own archive:
<pre class="board-terminal">
root@imx8mpevk:~# apt-get install git
4,650
edits

Navigation menu