/usr/share/initramfs-tools/hooks/touch is in initramfs-tools-ubuntu-touch 0.94vivid5.
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 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #!/bin/sh -e
MINKVER="2.6.24"
PREREQ=""
# Output pre-requisites
prereqs()
{
echo "$PREREQ"
}
case "$1" in
prereqs)
prereqs
exit 0
;;
esac
. /usr/share/initramfs-tools/hook-functions
copy_exec /sbin/swapon /sbin
copy_exec /sbin/reboot /sbin
copy_exec /sbin/e2fsck /sbin
copy_exec /sbin/resize2fs /sbin
copy_exec /bin/chown /bin
copy_exec /bin/mount /bin
copy_exec /bin/readlink /sbin
copy_exec /usr/bin/adbd /sbin
copy_exec /lib/x86_64-linux-gnu/libz.so.1
copy_exec /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
copy_exec /lib/x86_64-linux-gnu/libdl.so.2
|