Hi maks, > fixed in latest git, also added 2 small comment lines, > which should make code intent clearer, please review > happy to add/change them.
Hmm, I'm not so sure if this comment helps. The file now says # official linux-images take care themself which would suggest this hook should _not_ run for official images, while it is quite the opposite. I'd write something like: # Don't run for kernels generated by older versions of kernel-package, since # those took care of generating initramfs themselves (but didn't set # KERNEL_PACKAGE_VERSION yet). See #523735. Always run for newer version of # kernel-package and the official Debian kernels. And perhaps a few lines up (where you set bootdir): # Kernel-package passes the path to the vmlinuz file as a second argument, # which might not be in /boot. Gr. Matthijs
signature.asc
Description: Digital signature