diff options
author | Holger Levsen <holger@layer-acht.org> | 2012-11-23 18:15:34 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2012-11-23 18:15:34 +0100 |
commit | 0bc45b02c12cfc2d437c7a81a8ee6cc0b4c78423 (patch) | |
tree | 65db3e447ee7c96e7893f2292a3a66a92875663d | |
parent | abd456f080d75036f8c1c1d139a745f2582dad1e (diff) | |
download | jenkins.debian.net-0bc45b02c12cfc2d437c7a81a8ee6cc0b4c78423.tar.xz |
also install desktop-base, always
-rwxr-xr-x | bin/chroot_tester.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bin/chroot_tester.sh b/bin/chroot_tester.sh index 55852df8..83c4dd12 100755 --- a/bin/chroot_tester.sh +++ b/bin/chroot_tester.sh @@ -59,29 +59,28 @@ execute_ctmpfile() { } prepare_bootstrap() { -cat >> $CTMPFILE <<-EOF + cat >> $CTMPFILE <<-EOF $SCRIPT_HEADER mount /proc -t proc /proc echo -e '#!/bin/sh\nexit 101' > /usr/sbin/policy-rc.d chmod +x /usr/sbin/policy-rc.d echo 'Acquire::http::Proxy "http://localhost:3128";' > /etc/apt/apt.conf.d/80proxy +apt-get update EOF } prepare_install_packages() { -cat >> $CTMPFILE <<-EOF + cat >> $CTMPFILE <<-EOF $SCRIPT_HEADER -apt-get update apt-get -y install $1 EOF } prepare_upgrade2() { -cat >> $CTMPFILE <<-EOF + cat >> $CTMPFILE <<-EOF echo "deb $MIRROR $1 main contrib non-free" > /etc/apt/sources.list $SCRIPT_HEADER apt-get update -#apt-get -y install apt apt-get -y upgrade apt-get -y dist-upgrade apt-get -y dist-upgrade @@ -100,6 +99,8 @@ install_packages() { echo "Installing extra packages for $1 now." prepare_install_packages $2 execute_ctmpfile + prepare_install_packages desktop-base + execute_ctmpfile } upgrade2() { |