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
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.
I’m not sure what’s going on but it looks similar to https://phabricator.vyos.net/T2077.
It’s not the same as Using docker to build stable ISO is failing, which I also experienced recently.
I’d appreciate some guidance in how to solve this problem.
P.S.: Yesterday I created an account at phabricator that got disabled with no explanation at all. That’s why I’m submitting this report here.