We have a second bug that causes the call by update-initramfs::get_sorted_versions() to report nothing when calling (/usr/bin/) "linux-versions list".
This because the target root file-system is copied from the filesystem.squashfs on the ISO which does NOT contain a /boot/vmlinuz-$(uname -r).
calamares has a job to copy the /cdrom/casper/vmlinuz into the target and name it correctly. The job is
contextualprocess@before_bootloader_mkdirs
but it is listed after the "initramfs" job so there is no kernel image to get the version string from when "initramfs" executes. "before_bootloader_mkdirs" needs moving to before "initramfs".
We have a second bug that causes the call by update- initramfs: :get_sorted_ versions( ) to report nothing when calling (/usr/bin/) "linux-versions list".
This because the target root file-system is copied from the filesystem.squashfs on the ISO which does NOT contain a /boot/vmlinuz- $(uname -r).
calamares has a job to copy the /cdrom/ casper/ vmlinuz into the target and name it correctly. The job is
contextualproce ss@before_ bootloader_ mkdirs
but it is listed after the "initramfs" job so there is no kernel image to get the version string from when "initramfs" executes. "before_ bootloader_ mkdirs" needs moving to before "initramfs".