Hello,
We did some testing building inside containers with debian:trixie-slim instead, so that the build can run on a broader range of OSes, and we would like to share some findings.
1. layer/raspbian/*/base-apt.yaml declares variant: apt with no suite
The suite: line is missing for 32-bit repos but present in the 64-bit ones. This causes mmdebstrap versions newer than a certain point (1.5.1?) to fail with I: nothing to extract -- skipping....
2. keydir/raspbian-archive-keyring.gpg uses only SHA-1; newer apt versions reject it
We replaced it with a current key obtained from raspbian-archive-keyring_20120528.4_all.deb.
3. Missing dependencies
The following packages were added to depends, although packages other than zlib1g-dev are probably pulled in automatically when --no-install-recommends is not used.
| Item |
Note |
zlib1g-dev |
erofs-utils's lib/gzran.c:9 has #include <zlib.h> above the #ifdef HAVE_ZLIB at line 11, and lib/Makefile.am:95 adds gzran.c unconditionally |
xz-utils |
package/util-linux/util-linux-2.41.3.meta fetches a .tar.xz; util-linux is a PKG_DEPS of erofs-utils (package/erofs-utils/Makefile:4) |
ca-certificates |
bin/vfetch:134 fetches tarballs with curl --fail --location over https:// |
file |
layer/base/deploy.sh:67: mime_type=$(file -b --mime-type "$f" 2>/dev/null || echo "unknown") |
Hello,
We did some testing building inside containers with debian:trixie-slim instead, so that the build can run on a broader range of OSes, and we would like to share some findings.
1.
layer/raspbian/*/base-apt.yamldeclaresvariant: aptwith nosuiteThe
suite:line is missing for 32-bit repos but present in the 64-bit ones. This causes mmdebstrap versions newer than a certain point (1.5.1?) to fail withI: nothing to extract -- skipping....2.
keydir/raspbian-archive-keyring.gpguses only SHA-1; newer apt versions reject itWe replaced it with a current key obtained from raspbian-archive-keyring_20120528.4_all.deb.
3. Missing dependencies
The following packages were added to
depends, although packages other thanzlib1g-devare probably pulled in automatically when--no-install-recommendsis not used.zlib1g-devlib/gzran.c:9has#include <zlib.h>above the#ifdef HAVE_ZLIBat line 11, andlib/Makefile.am:95addsgzran.cunconditionallyxz-utilspackage/util-linux/util-linux-2.41.3.metafetches a.tar.xz; util-linux is aPKG_DEPSof erofs-utils (package/erofs-utils/Makefile:4)ca-certificatesbin/vfetch:134fetches tarballs withcurl --fail --locationoverhttps://filelayer/base/deploy.sh:67:mime_type=$(file -b --mime-type "$f" 2>/dev/null || echo "unknown")