[SCM] live-build branch, debian, updated. debian/3.0_a13-1-15-gee8d589
Daniel Baumann
daniel at debian.org
Fri Mar 25 09:08:28 UTC 2011
The following commit has been merged in the debian branch:
commit 82918368123a3d49af08bec23d2adc2363748cf7
Author: Daniel Baumann <daniel at debian.org>
Date: Wed Mar 23 14:27:42 2011 +0100
Disabling kexec-tools by default in debian mode.
diff --git a/scripts/build/lb_chroot_hacks b/scripts/build/lb_chroot_hacks
index 2072e7c..cb5f802 100755
--- a/scripts/build/lb_chroot_hacks
+++ b/scripts/build/lb_chroot_hacks
@@ -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
--
live-build
More information about the debian-live-changes
mailing list