Or is it? Actually I not, because the test in update-initramfs::get_sorted_versions() expects an existing initrd.img-$version:
get_sorted_versions() { version_list="$( linux-version list | while read -r version; do test -e "${BOOTDIR}/initrd.img-$version" && echo "$version" done | linux-version sort --reverse )" verbose "Available versions: ${version_list}" }
I confused myself because I'd added a workaround for this in calamares by executing a shell
"touch /boot/initrd.img-$(uname -r)"
and forgotten it was there whilst chasing the missing kernel!
Or is it? Actually I not, because the test in update- initramfs: :get_sorted_ versions( ) expects an existing initrd. img-$version:
get_sorted_ versions( )
version_ list="$ (
linux- version list |
while read -r version; do
test -e "${BOOTDIR} /initrd. img-$version" && echo "$version"
done |
linux- version sort --reverse
{
)"
verbose "Available versions: ${version_list}"
}
I confused myself because I'd added a workaround for this in calamares by executing a shell
"touch /boot/initrd. img-$(uname -r)"
and forgotten it was there whilst chasing the missing kernel!