Codebase list live-build / b6004d1 share / hooks / 0010-disable-kexec-tools.hook.chroot
b6004d1

Tree @b6004d1 (Download .tar.gz)

0010-disable-kexec-tools.hook.chroot @b6004d1raw · history · blame

#!/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