/etc/kernel/postinst.d/tiny-initramfs is in tiny-initramfs 0.1-5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/sh
VERSION="$1"
BOOTDIR="/boot"
# Make sure tiny-initramfs (not only tiny-initramfs-core)
# is still installed (might be removed but not purged).
[ -x "/usr/sbin/update-tirfs" ] || exit 0
[ -z "$VERSION" ] && exit 0
if [ -n "$2" ] ; then
BOOTDIR="$(dirname "$2")"
fi
echo "tiny-initramfs: Generating ${BOOTDIR}/initrd.img-${VERSION}"
mktirfs -o "${BOOTDIR}/initrd.img-${VERSION}" "${VERSION}" >&2
|