[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: install diffoscope in schroots too
Holger Levsen
holger at moszumanska.debian.org
Tue Sep 1 17:14:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit a56594028e41fecc4f8513bbed81d32aee29f2fc
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Sep 1 19:13:54 2015 +0200
reproducible: install diffoscope in schroots too
---
bin/schroot-create.sh | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index adecb72..341fe9a 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -128,21 +128,21 @@ bootstrap() {
set -x
sudo chroot $CHROOT_TARGET apt-get update
# install diffoscope with all recommends...
- if [ "$1" = "debbindiff" ] ; then
- sudo chroot $CHROOT_TARGET apt-get install -y --install-recommends debbindiff
+ if [ "$1" = "diffoscope" ] ; then
+ sudo chroot $CHROOT_TARGET apt-get install -y --install-recommends diffoscope
fi
sudo chroot $CHROOT_TARGET apt-get install -y --no-install-recommends "$@" sudo
# always use diffoscope from unstable
- if [ "$SUITE" = "testing" ] && [ "$1" = "debbindiff" ] ; then
+ if [ "$SUITE" = "testing" ] && [ "$1" = "diffoscope" ] ; then
echo "deb $MIRROR unstable main" | sudo tee -a $CHROOT_TARGET/etc/apt/sources.list > /dev/null
sudo chroot $CHROOT_TARGET apt-get update
# install diffoscope from unstable without re-adding all recommends...
- sudo chroot $CHROOT_TARGET apt-get install -y -t unstable --no-install-recommends debbindiff || echo "Warning: diffoscope from unstable is uninstallable at the moment."
+ sudo chroot $CHROOT_TARGET apt-get install -y -t unstable --no-install-recommends diffoscope || echo "Warning: diffoscope from unstable is uninstallable at the moment."
fi
if ! $DEBUG ; then set +x ; fi
- if [ "$1" = "debbindiff" ] ; then
+ if [ "$1" = "diffoscope" ] ; then
echo
- sudo chroot $CHROOT_TARGET dpkg -l debbindiff
+ sudo chroot $CHROOT_TARGET dpkg -l diffoscope
echo
fi
# umount in reverse order
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list