Sorry if I'm using the wrong terminology, I just called it hooks because that is what the folder is named.
I mean I have added a script very similar to:
/usr/share/initramfs-tools/hooks/dmraid
which copies the necessary kpartx files to the initramfs as well, when doing update-initramfs -u (at least that is what I assume happens ;)).
I include these for kpartx: /sbin/kpartx /lib/udev/kpartx_id /lib/udev/dmsetup_env /lib/udev/rules.d/95-kpartx.rules
Sorry if I'm using the wrong terminology, I just called it hooks because that is what the folder is named.
I mean I have added a script very similar to:
/usr/ share/initramfs -tools/ hooks/dmraid
which copies the necessary kpartx files to the initramfs as well, when doing update-initramfs -u (at least that is what I assume happens ;)).
I include these for kpartx: udev/kpartx_ id udev/dmsetup_ env udev/rules. d/95-kpartx. rules
/sbin/kpartx
/lib/
/lib/
/lib/