/usr/share/live/build/hooks/0010-disable-kexec-tools.hook.chroot is in live-build 4.0.3-1.
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 | #!/bin/sh
set -e
# Disable kexec-tools
if [ -e /sbin/kexec ]
then
echo "kexec-tools kexec-tools/load_kexec boolean false" > /root/preseed
debconf-set-selections /root/preseed
rm -f /root/preseed
dpkg-reconfigure kexec-tools
fi
|