summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-10 12:58:44 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-10 12:58:44 +0200
commit00ae28f2e8c659ba2848c1a12683bed483f31c08 (patch)
tree3ddea84e5899caa2a7a59d36f8f600b136cf1c4d /bin/reproducible_build.sh
parentb384d6e450a789958000bcacd382cb895221faaa (diff)
downloadjenkins.debian.net-00ae28f2e8c659ba2848c1a12683bed483f31c08.tar.xz
reproducible: polishing various little things
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index abb142a0..c999fe00 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -158,6 +158,8 @@ for SRCPACKAGE in ${PACKAGES} ; do
RBUILDLOG=/var/lib/jenkins/userContent/rbuild/${SRCPACKAGE}_${EVERSION}.rbuild.log
mv ${TMPLOG} ${RBUILDLOG}
# check whether the package is not for us...
+ # FIXME: needs to check for all packages, not just the first one
+ # FIXME: linux-any is valid too (but hurd-any not)
ARCH=$(grep "^Architecture: " ${SRCPACKAGE}_*.dsc| sort -r | head -1 | cut -d " " -f2-)
if [[ ! "$ARCH" =~ "amd64" ]] && [[ ! "$ARCH" =~ "all" ]] && [[ ! "$ARCH" =~ "any" ]] && [[ ! "$ARCH" =~ "linux-amd64" ]]; then
sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"not for us\", \"$DATE\")"