Disabling kexec-tools by default in debian mode.

This commit is contained in:
Daniel Baumann 2011-03-23 14:27:42 +01:00
parent c0e865b6d2
commit 8291836812
1 changed files with 13 additions and 0 deletions

View File

@ -55,6 +55,19 @@ case "${LB_PARENT_DISTRIBUTION}" in
esac
# Handling default desktop configuration
case "${LB_MODE}" in
debian*)
# disable kexec-tools
if [ -e chroot/sbin/kexec ]
then
echo "kexec-tools kexec-tools/load_kexec boolean false" > chroot/root/preseed
Chroot chroot "debconf-set-selections /root/preseed"
rm -f chroot/root/preseed
Chroot chroot "dpkg-reconfigure kexec-tools"
fi
;;
esac
for TASK in ${LB_TASKS}
do
case "${TASK}" in