summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2013-01-12 01:18:06 +0100
committerHolger Levsen <holger@layer-acht.org>2013-01-12 01:18:06 +0100
commit981e3a2b00f3ac7dd6f1c091956bcdff78105ecb (patch)
tree6c59c63124f8dee78738c4144a2361dc441fb527
parent73deb62a08141388f19a590196ecba5793fcf7c8 (diff)
downloadjenkins.debian.net-981e3a2b00f3ac7dd6f1c091956bcdff78105ecb.tar.xz
chroot-installation: install build-depends one by one to not fail on conflicts
-rwxr-xr-xbin/chroot-installation.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh
index 4d1e8f30..3f6a6015 100755
--- a/bin/chroot-installation.sh
+++ b/bin/chroot-installation.sh
@@ -78,7 +78,9 @@ prepare_install_build_depends() {
cat >> $CTMPFILE <<-EOF
$SCRIPT_HEADER
apt-get -y install build-essential
-apt-get -y build-dep $@
+for PACKAGE in $@ ; do
+ apt-get -y build-dep $PACKAGE
+done
EOF
}