summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-30 16:14:03 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-30 16:14:03 +0100
commit592956367f10bd11ba78ddd05d30a406f9d37ef4 (patch)
tree4eaa5ccd5577948cb2106ac0f0b79f1a6d64332d /bin
parent7c6f24fbdc68de355fab82c12b3d8d9e10d9f47f (diff)
downloadjenkins.debian.net-592956367f10bd11ba78ddd05d30a406f9d37ef4.tar.xz
new chroot jobs for testing a full blown desktop
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chroot_tester.sh24
1 files changed, 15 insertions, 9 deletions
diff --git a/bin/chroot_tester.sh b/bin/chroot_tester.sh
index 45f69672..830238c7 100755
--- a/bin/chroot_tester.sh
+++ b/bin/chroot_tester.sh
@@ -100,8 +100,6 @@ install_packages() {
shift
prepare_install_packages $@
execute_ctmpfile
- prepare_install_packages desktop-base
- execute_ctmpfile
}
upgrade2() {
@@ -113,19 +111,27 @@ upgrade2() {
trap cleanup_all INT TERM EXIT
case $1 in
- squeeze)bootstrap squeeze;;
- wheezy) bootstrap wheezy;;
- sid) bootstrap sid;;
+ squeeze) DISTRO="squeeze"
+ OFFICE="openoffice.org"
+ ;;
+ wheezy) DISTRO="wheezy"
+ OFFICE="libreoffice"
+ ;;
+ sid) DISTRO="sid"
+ OFFICE="libreoffice"
+ ;;
*) echo "unsupported distro." ; exit 1 ;;
esac
+bootstrap $DISTRO
if [ "$2" != "" ] ; then
case $2 in
none) ;;
- gnome) install_packages gnome gnome ;;
- kde) install_packages kde kde-plasma-desktop ;;
- xfce) install_packages xfce xfce4 ;;
- lxde) install_packages lxde lxde ;;
+ gnome) install_packages gnome gnome desktop-base ;;
+ kde) install_packages kde kde-plasma-desktop desktop-base ;;
+ xfce) install_packages xfce xfce4 desktop-base;;
+ lxde) install_packages lxde lxde desktop-base ;;
+ full_desktop) install_packages full_desktop $OFFICE desktop-base gnome kde-plasma-desktop xfce4 lxde vlc evince iceweasel chromium cups build-essential devscripts mplayer wine virtualbox texlive-full asciidoc ;;
*) echo "unsupported component." ; exit 1 ;;
esac
fi