I need an initramfs hook to call a script after an initramfs has been generated.
The Debian Linux Kernel
Packages for boot loaders that need to be updated whenever the files they load are modified must also install hook scripts in
/etc/initramfs/post-update.d. […] The arguments given to these hook scripts are the kernel ABI version and the absolute path to the initramfs image.
This is exactly what I need, but this directory doesn't exist on my system.
Though the directory
/etc/initramfs-tools/ exists, but it doesn't contain
Where is the correct place to hook in such a script?
OS: Debian sid