Changes

Jump to: navigation, search

MISC-TN-014: Yocto and Debian packetization

862 bytes added, 14:28, 3 August 2020
Introduction
''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.
''
 
 
In principle, the adoption of the Debian package management should allow to use prebuilt package archives available for [http://ftp.debian.org/debian/README.html Debian distributions]. However, close attention should be paid when mixing packages of different distributions. For instance, Debian packages installed on a Yocto file system could not work. Even worse, '''they could interfere with existing packages and make these unusable'''.
 
This Technical Note (TN) describes a way to apply the [[https://wiki.dave.eu/index.php/XELK-AN-003:_Package_Management_with_Yocto|<code>smart</code>-based approach]] to a Yocto distribution that makes use of Debian packetization. In other words, a local archive of Yocto-generated prebuilt .deb packages is used in combination with the well known <code>apt-get</code> utility.
 
==Testbed==
 
==Configuring and testing==
==TBD==
4,650
edits

Navigation menu