I have pulled git tag vyos/1.2.6 from the vyos/vyos-build repo and tried to build an ISO with the latest docker image release for the crux tag.
Git tag vyos/1.2.6 relies on kernel 4.19.142 but kernel 4.19.176, which is the version currently used at the branch crux, is also being compiled. This somehow leads to the following error during the build:
I: Create initramfs if it does not exist.
/root/17-gen_initramfs.chroot: line 8: [: /boot/initrd.img-4.19.142-amd64-vyos: binary operator expected
Extra argument '4.19.176-amd64-vyos'
Usage: /usr/sbin/update-initramfs.orig.initramfs-tools [OPTION]...
Options:
-k version Specify kernel version or 'all'
-c Create a new initramfs
-u Update an existing initramfs
-d Remove an existing initramfs
-t Take over a custom initramfs with this one
-b directory Set alternate boot directory
-v Be verbose
-h This message
E: config/hooks/live/17-gen_initramfs.chroot failed (exit non-zero). You should check for errors.
Our builds are not repeatable. Of course, we do want them to be repeatable, but you know, we are not alone. None of the distros realistically supported rebuilding an exact version, save for NixOS and GUIX/SD, and even in those reproducibility-focused distros there are “buts”.
Tags are mostly just reference marks. We are working towards making builds more reproducible, but it’s a while off.
One question I’d like to ask: what do you need it for? There’s nothing magical in 1.2.6. In fact, you’ll be missing out on fixes we made after 1.2.6.