/usr/share/initramfs-tools/hooks
NameSizeModeActions
bcache5430755editdlrm
btrfs5680755editdlrm
cloud-initramfs-dyn-netconf1180755editdlrm
compcache36330755editdlrm
console_setup31420755editdlrm
copymods2800755editdlrm
cryptgnupg9210755editdlrm
cryptgnupg-sc22420755editdlrm
cryptkeyctl4240755editdlrm
cryptopensc16760755editdlrm
cryptpassdev8880755editdlrm
cryptroot172440755editdlrm
cryptroot-unlock6370755editdlrm
dmsetup5060755editdlrm
fixrtc4360755editdlrm
framebuffer5790755editdlrm
fsck19830755editdlrm
fuse2300755editdlrm
iscsi7320755editdlrm
kbd3010755editdlrm
klibc-utils6460755editdlrm
kmod4320755editdlrm
lvm26700755editdlrm
mdadm28970755editdlrm
ntfs_3g3040755editdlrm
overlayroot7320755editdlrm
plymouth58730755editdlrm
resume31160755editdlrm
sg3-utils4850755editdlrm
thermal13240755editdlrm
thin-provisioning-tools3690755editdlrm
udev17030755editdlrm
xfs8500755editdlrm
zz-busybox-initramfs22330755editdlrm
zz-dhclient4110755editdlrm
Edit: /usr/share/initramfs-tools/hooks/cryptroot-unlock (637B)
#!/bin/sh PREREQ="" prereqs() { echo "$PREREQ" } case "$1" in prereqs) prereqs exit 0 ;; esac . /usr/share/initramfs-tools/hook-functions if [ ! -f "$DESTDIR/bin/cryptroot-unlock" ] && ! copy_file script /usr/share/cryptsetup/initramfs/bin/cryptroot-unlock /bin/cryptroot-unlock; then echo "ERROR: Couldn't copy /bin/cryptroot-unlock" >&2 exit 1 fi if [ -f /etc/initramfs-tools/etc/motd ]; then copy_file text /etc/initramfs-tools/etc/motd /etc/motd else cat >>"$DESTDIR/etc/motd" <<- EOF To unlock root partition, and maybe others like swap, run \`cryptroot-unlock\`. EOF fi