diff options
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/chroot_tasks | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/build/chroot_tasks b/scripts/build/chroot_tasks index 6c7d274..892954d 100755 --- a/scripts/build/chroot_tasks +++ b/scripts/build/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 ;; |