[SCM] live-build branch, debian-old-1.0, updated. eff7e4124724fdf8e1e0c7d3a852a83375a830b2
Daniel Baumann
daniel at debian.org
Sun Aug 8 02:56:33 UTC 2010
The following commit has been merged in the debian-old-1.0 branch:
commit eff7e4124724fdf8e1e0c7d3a852a83375a830b2
Author: Daniel Baumann <daniel at debian.org>
Date: Sun Aug 8 04:54:51 2010 +0200
Setting default desktop for tasksel when installing package tasks to avoid ending up with a pulled in gnome in all cases, thanks a lot to Ben Armstrong <synrg at debian.org> for finding this solution.
diff --git a/helpers/lh_chroot_tasks b/helpers/lh_chroot_tasks
index 0a7dddd..13bb3fd 100755
--- a/helpers/lh_chroot_tasks
+++ b/helpers/lh_chroot_tasks
@@ -65,6 +65,28 @@ then
tasksel)
for TASK in ${LH_TASKS}
do
+ case "${TASK}" in
+ gnome*)
+ DESKTOP="${DESKTOP} gnome"
+ ;;
+
+ kde*)
+ DESKTOP="${DESKTOP} kde"
+ ;;
+
+ lxde*)
+ DESKTOP="${DESKTOP} lxde"
+ ;;
+
+ xfce*)
+ DESKTOP="${DESKTOP} xfce"
+ ;;
+ esac
+
+ echo "tasksel tasksel/desktop multiselect ${DESKTOP}" > chroot/root/preseed
+ Chroot chroot "debconf-set-selections /root/preseed"
+ rm -f chroot/root/preseed
+
Chroot chroot "tasksel --debconf-apt-progress --logstderr install ${TASK}"
done
;;
--
live-build
More information about the debian-live-changes
mailing list