Disabling kexec-tools by default in debian mode.
This commit is contained in:
parent
c0e865b6d2
commit
8291836812
|
@ -55,6 +55,19 @@ case "${LB_PARENT_DISTRIBUTION}" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Handling default desktop configuration
|
# 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}
|
for TASK in ${LB_TASKS}
|
||||||
do
|
do
|
||||||
case "${TASK}" in
|
case "${TASK}" in
|
||||||
|
|
Loading…
Reference in New Issue