[misc] 04/05: Drop build-deps.sh
Chris Lamb
chris at chris-lamb.co.uk
Wed Nov 1 20:40:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository misc.
commit dc2e0de23506650434c86a0497dbb91748bb1ca8
Author: Chris Lamb <lamby at debian.org>
Date: Wed Nov 1 21:37:52 2017 +0100
Drop build-deps.sh
---
build-deps.sh | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/build-deps.sh b/build-deps.sh
deleted file mode 100755
index 40b38d5..0000000
--- a/build-deps.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-set -eu
-
-# requirements: python3-apt debootstrap
-
-SUITE=$1
-MIRROR=$2
-
-DIR=$(mktemp -d)
-debootstrap $SUITE $DIR $MIRROR
-printf "deb $MIRROR $SUITE main\ndeb-src $MIRROR $SUITE main\n" > $DIR/etc/apt/sources.list
-chroot $DIR apt-get update
-python3 -c '
-import apt
-cache=apt.cache.Cache(rootdir="'$DIR'")
-for src in set(v.source_name for p in cache.keys() for v in cache[p].versions):
- print(src)
-' | pv -l -s 28000 | xargs -P8 -I{} sh -c \
- 'chroot '$DIR' apt-get build-dep --dry-run -oDebug::NoLocking=yes {} >{}.err 2>&1 && rm {}.err'
-rm -rf $DIR
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-commits
mailing list