From 58c15c6cda148e4070174160b96d611362cf26f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 15 May 2025 08:57:02 +0200 Subject: [PATCH] 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. --- linux/initramfs/bitpixie-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/initramfs/bitpixie-build.sh b/linux/initramfs/bitpixie-build.sh index 3f2d6e6..7024cd7 100755 --- a/linux/initramfs/bitpixie-build.sh +++ b/linux/initramfs/bitpixie-build.sh @@ -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