Package: flash-kernel
Version: 3.107+b1
Severity: normal

Package linux-image-6.7.9-riscv64 installs file /boot/vmlinux-6.7.9-riscv64.

Flash-kernel fails with:

sudo flash-kernel $(uname -r)
Can't find /boot/vmlinuz-6.7.9-riscv64 (see
/tmp/flash-kernel-no-kernel-error.log)

Please, change flash-kernel to accept vmlinux*.

In /usr/share/flash-kernel/functions we find

   kfile="/boot/vmlinuz-$kvers"
   if [ ! -e $kfile ]; then

Changing this to

   kfile="/boot/vmlinuz-$kvers"
   if [ ! -e $kfile ]; then
           kfile="/boot/vmlinux-$kvers"
   fi
   if [ ! -e $kfile ]; then

would be sufficient to resolve the issue.

Best regards

Heinrich

Reply via email to