Changes

Jump to: navigation, search

MISC-TN-014: Yocto and Debian packetization

1,783 bytes added, 14:44, 3 August 2020
Configuring and testing
==Configuring and testing==
First of all, all the packages were built with Yocto. Then, they were copied to a server supporting the HTTPS protocol. The resulting archive is available here: https://yocto.dave.eu/imx-5.4/.
 
On the target, the file <code>imx-5.4.list</code> was created:
<pre class="board-terminal">
root@imx8mpevk:/etc/apt/sources.list.d# cat imx-5.4.list
deb https://yocto.dave.eu/imx-5.4/aarch64-mx8mp ./
deb https://yocto.dave.eu/imx-5.4/aarch64 ./
deb https://yocto.dave.eu/imx-5.4/all ./
deb https://yocto.dave.eu/imx-5.4/imx8mpevk ./
</pre>
 
Please note that two files in <code>/etc/apt/sources.list.d</code> are automatically generated by Yocto: <code>debian-10.list</code> and <code>sources.list</code>. They were renamed to <code>debian-10.list.ignore</code> and <code>sources.list.ignore</code> respectively.
 
 
The following example shows the installation of the <code>git</code> package, which is retrived from the local archive:
<pre class="board-terminal">
root@imx8mpevk:~# apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
git
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3043 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
git
Install these packages without verification? [y/N] y
Selecting previously unselected package git.
(Reading database ... 99542 files and directories currently installed.)
Preparing to unpack .../git_2.23.1-r0_arm64.deb ...
Unpacking git (2.23.1-r0) ...
Setting up git (2.23.1-r0) ...
N: Ignoring file 'debian-10.list.ignore' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
</pre>
==TBD==
4,650
edits

Navigation menu