Changes

Jump to: navigation, search

MISC-TN-014: Yocto and Debian packetization

210 bytes added, 08:26, 26 May 2021
History
{{AppliesToAxelEsatta}}
{{AppliesToAxelLite}}
{{AppliesToAXEL Lite TN}}
{{AppliesToSMARX TN}}
{{Applies To Yocto}}
[[Category:MISC-AN-TN]]
|August 2020
|First public release
|-
|1.0.1
|May 2021
|Add note about running <code>apt-get update</code> prior to installation
|}
''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 our own archive, after running <code>apt-get update</code> to update the local archivepackage lists:
<pre class="board-terminal">
root@imx8mpevk:~# apt-get install git
4,650
edits

Navigation menu