i dont think the dependency is wrong, the code in update-initramfs should simply respect that there is no postinst_hook set (like the postinst of the kernel package itself seems to do here) in the linux-image postinst perl script the following code appears:
## Run user hook script here, if any
if ($postinst_hook) {
&run_hook("postinst", $postinst_hook);
}
i dont think the dependency is wrong, the code in update-initramfs should simply respect that there is no postinst_hook set (like the postinst of the kernel package itself seems to do here) in the linux-image postinst perl script the following code appears:
## Run user hook script here, if any hook("postinst" , $postinst_hook);
if ($postinst_hook) {
&run_
}