I have built imx-5.10.9-1.0.0.xml according to https://source.codeaurora.org/external/imx/imx-manifest/tree/README?h=imx-linux-gatesgarth:
$ DISTRO=fsl-imx-xwayland MACHINE=imx8mmevk source imx-setup-release.sh -b build-xwayland
$ bitbake imx-image-full
$ DISTRO=fsl-imx-xwayland MACHINE=imx8mmevk source imx-setup-release.sh -b build-xwayland
$ bitbake imx-image-full
however apt update fails:
root@imx8mmevk:~# apt update
Get:1 http://ftp.debian.org/debian buster InRelease [121 kB]
Err:1 http://ftp.debian.org/debian buster InRelease
gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Get:2 http://ftp.debian.org/debian buster-updates InRelease [51.9 kB]
Err:2 http://ftp.debian.org/debian buster-updates InRelease
gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Reading package lists... Done
W: GPG error: http://ftp.debian.org/debian buster InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
E: The repository 'http://ftp.debian.org/debian buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ftp.debian.org/debian buster-updates InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
E: The repository 'http://ftp.debian.org/debian buster-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
In sources/meta-imx/tools/imx-setup-release.sh. Debian package management is added:
echo >> conf/local.conf
echo "# Switch to Debian packaging and include package-management in the image" >> conf/local.conf
echo "PACKAGE_CLASSES = \"package_deb\"" >> conf/local.conf
echo "EXTRA_IMAGE_FEATURES += \"package-management\"" >> conf/local.conf
This change was added in:
commit 8dbc8a9f53dc18586f6b44fa93351b676d529530
Author: Tom Hochstein <tom.hochstein@nxp.com>
Date: Thu May 14 13:56:39 2020 -0500
imx-setup-release.sh: Use debian packaging and include package management in images [YOCIMX-4574]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
diff --git a/tools/imx-setup-release.sh b/tools/imx-setup-release.sh
index a066efe99..a14c681cf 100755
--- a/tools/imx-setup-release.sh
+++ b/tools/imx-setup-release.sh
It seems Debian package management (apt update, apt-get, etc.) is supposed to work. But from https://community.nxp.com/t5/i-MX-Processors/apt-get-and-apt-key-does-not-work-for-Linux-5-4-XX-for-... : "To add a software package to the linux BSP, you need to add it to local.conf and recompile the image to achieve the goal. The Linux BSP of I.MX is not a standard release version of the debian system, and software packages cannot be installed through apt-get."
Is there support for a "standard release version of the debian system" on Linux I.MX that supports package installation? Are there Yocto recipes that can be added to build in Debian?