linux: synchronize used Alpine version

At the moment individual components are built using a specific Alpine
version (3.20.3) as specifed on the command line for the various docker
commands.

However, alpine-make-rootfs(1) was called with ALPINE_BRANCH=edge,
resulting in a newer initramfs than expected by indvividual packages
such as dislocker. This version mismatch caused runtime errors because
shared libraries were not found.

A fixed Alpine version was initially chosen in hope to get a more
stable/reproducable setup, but maybe it would make more sense to just
always use the latest stable version.

Should hopefully fix #6.
This commit is contained in:
Marc André Tanner
2025-05-15 08:57:02 +02:00
parent 28bfedb610
commit 58c15c6cda
+1 -1
View File
@@ -39,7 +39,7 @@ basename "$1" > "$ROOTFS_DEST/etc/bitpixie-release"
mkdir -p "$ROOTFS_DEST/etc/mkinitfs"
echo "disable_trigger=yes" > "$ROOTFS_DEST/etc/mkinitfs/mkinitfs.conf"
export ALPINE_BRANCH=edge
export ALPINE_BRANCH=3.20
export SCRIPT_CHROOT=yes
export FS_SKEL_DIR=/mnt/root
export FS_SKEL_CHOWN=root:root