summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/chroot_hacks72
1 files changed, 0 insertions, 72 deletions
diff --git a/scripts/build/chroot_hacks b/scripts/build/chroot_hacks
index 7cea32ff5..58f8e7064 100755
--- a/scripts/build/chroot_hacks
+++ b/scripts/build/chroot_hacks
@@ -52,78 +52,6 @@ case "${LB_MODE}" in
;;
esac
-for TASK in ${LB_TASKS}
-do
- case "${TASK}" in
- gnome-desktop)
- # gnome is the only desktop environment in this image
- if [ -z "$(echo ${LB_TASKS} | sed -e 's|gnome-desktop||' -e 's| desktop ||' | grep desktop)" ]
- then
- # set display manager
- echo "gdm shared/default-x-display-manager select gdm" > chroot/root/preseed
- Chroot chroot "debconf-set-selections /root/preseed"
- rm -f chroot/root/preseed
- Chroot chroot "dpkg-reconfigure gdm"
- echo "/usr/bin/gdm" > chroot/etc/X11/default-display-manager
-
- # set session manager
- Chroot chroot "update-alternatives --set x-session-manager /usr/bin/gnome-session"
- fi
- ;;
-
- kde-desktop)
- # kde is the only desktop-environment in this image
- if [ -z "$(echo ${LB_TASKS} | sed -e 's|kde-desktop||' -e 's| desktop ||' | grep desktop)" ]
- then
- # set display manager
- echo "kdm shared/default-x-display-manager select kdm" > chroot/root/preseed
- Chroot chroot "debconf-set-selections /root/preseed"
- rm -f chroot/root/preseed
- Chroot chroot "dpkg-reconfigure kdm"
- echo "/usr/bin/kdm" > chroot/etc/X11/default-display-manager
-
- # set session manager
- Chroot chroot "update-alternatives --set x-session-manager /usr/bin/startkde"
-
- # get rid of resolvconf
- Chroot chroot "dpkg -P resolvconf"
- fi
- ;;
-
- lxde-desktop)
- # lxde is the only desktop environment in this image
- if [ -z "$(echo ${LB_TASKS} | sed -e 's|lxde-desktop||' -e 's| desktop ||' | grep desktop)" ]
- then
- # set display manager
- echo "gdm shared/default-x-display-manager select gdm" > chroot/root/preseed
- Chroot chroot "debconf-set-selections /root/preseed"
- rm -f chroot/root/preseed
- Chroot chroot "dpkg-reconfigure gdm"
- echo "/usr/bin/gdm" > chroot/etc/X11/default-display-manager
-
- # set session manager
- Chroot chroot "update-alternatives --set x-session-manager /usr/bin/startlxde"
- fi
- ;;
-
- xfce-desktop)
- # xfce is the only desktop environment in this image
- if [ -z "$(echo ${LB_TASKS} | sed -e 's|xfce-desktop||' -e 's| desktop ||' | grep desktop)" ]
- then
- # set display manager
- echo "gdm shared/default-x-display-manager select gdm" > chroot/root/preseed
- Chroot chroot "debconf-set-selections /root/preseed"
- rm -f chroot/root/preseed
- Chroot chroot "dpkg-reconfigure gdm"
- echo "/usr/bin/gdm" > chroot/etc/X11/default-display-manager
-
- # set session manager
- Chroot chroot "update-alternatives --set x-session-manager /usr/bin/xfce4-session"
- fi
- ;;
- esac
-done
-
case "${LB_BINARY_IMAGES}" in
netboot)
if [ ! -f chroot/sbin/mount.cifs ]