diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-09-28 00:50:08 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-09-28 00:50:08 +0200 |
commit | ce39465314667494026f1d02132672f30437fe4c (patch) | |
tree | e4ad2a09ce0c74405b31be904d2a111da36abf6c | |
parent | 3d88e976d84b4cd39cbcd7c8c9a89342518280b5 (diff) | |
download | jenkins.debian.net-ce39465314667494026f1d02132672f30437fe4c.tar.xz |
reproducible: fix typos and install sqlite3 on the host
-rwxr-xr-x | bin/reproducible_build.sh | 4 | ||||
-rwxr-xr-x | update_jdn.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index a4121c37..ce76e791 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -66,9 +66,9 @@ for SRCPACKAGE in $PACKAGES ; do if [ $RESULT != 0 ] ; then SOURCELESS="${SOURCELESS} ${SRCPACKAGE}" echo "Warning: ${SRCPACKAGE} is not a source package, or was removed or renamed. Please investigate." - sqlite3 $PACKAGES_DB "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"${VERSION}\", \"404\")" + sqlite3 $PACKAGES_DB "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"none available\", \"404\")" else - VERSION=$(grep ^Version ${SRCPACKAGE}_*.dsc | cut -d " " -f) + VERSION=$(grep ^Version ${SRCPACKAGE}_*.dsc | cut -d " " -f2 | head -1) STATUS=$(sqlite3 $PACKAGES_DB "SELECT status FROM source_packages WHERE name = \"${SRCPACKAGE}\" AND version = \"${VERSION}\"") if [ "$STATUS" = "reproducible" ] && [ $(( $RANDOM % 100 )) -gt 25 ] ; then echo "Package ${SRCPACKAGE} (${VERSION}) build reproducibly in the past and was thus randomly skipped." diff --git a/update_jdn.sh b/update_jdn.sh index caf6e10c..99438d44 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -27,7 +27,7 @@ done # sudo apt-get install vim screen less etckeeper moreutils curl mtr-tiny dstat devscripts bash-completion shorewall shorewall6 cron-apt apt-listchanges munin munin-plugins-extra calamaris visitors procmail libjson-rpc-perl libfile-touch-perl zutils ip2host \ build-essential python-setuptools \ - debootstrap sudo figlet graphviz apache2 python-yaml python-pip mr subversion subversion-tools vnstat webcheck poxml vncsnapshot imagemagick ffmpeg2theora python-twisted python-imaging gocr guestmount schroot \ + debootstrap sudo figlet graphviz apache2 python-yaml python-pip mr subversion subversion-tools vnstat webcheck poxml vncsnapshot imagemagick ffmpeg2theora python-twisted python-imaging gocr guestmount schroot sqlite3\ unzip python-hachoir-metadata ghc sudo apt-get install -t wheezy-backports qemu explain "Packages installed." |