[syslinux] The update-extlinux script fails to find kernels if /boot is a symlink
There's an issue in the update-extlinux
script as bundled in the syslinux
package, which causes it to not find any Linux kernels if they are located in the /boot
directory and said /boot
directory is actually a symbolic link to another directory.
This can be fixed by changing the line 128 and line 178 in the script to use /boot/
as the first argument to the find
command rather than /boot
. In this case, the find
command will look into the contents of /boot/
regardless of if it's a true directory or a symbolic link to one.