summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-10 12:58:26 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-10 12:58:26 +0100
commit85b9368b6f577970f2efc90d730cd2f55dc6ff8a (patch)
tree343310f38e39cc9dde66c8e8b81f5bdce94ab2d4 /bin
parentfb343c4e5f700071a5238e21a3d198a476f26d47 (diff)
downloadjenkins.debian.net-85b9368b6f577970f2efc90d730cd2f55dc6ff8a.tar.xz
reproducible archlinux: add more output
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build_archlinux_pkg.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 70ce14b3..de39c45e 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -40,9 +40,11 @@ handle_remote_error() {
}
choose_package() {
+ echo "$(date -u ) - about to choose a package to be build"
# every 2 days we check for new archlinux packages
- touch -d "$(date -d '2 days ago' '+%Y-%m-%d') 00:00 UTC"
+ touch -d "$(date -d '2 days ago' '+%Y-%m-%d') 00:00 UTC" $DUMMY
if [ ! -f $ARCHLINUX_PKGS ] || [ $DUMMY -nt $ARCHLINUX_PKGS ] ; then
+ echo "$(date -u ) - updating list of available packages."
local SESSION="archlinux-scheduler-$RANDOM"
schroot --begin-session --session-name=$SESSION -c jenkins-reproducible-arch
schroot --run-session -c $SESSION --directory /var/abs/core -- ls -1|sort -R|xargs echo > $ARCHLINUX_PKGS
@@ -55,7 +57,7 @@ choose_package() {
# build package if it has never build or at least a week ago
if [ ! -d $BASE/archlinux/$PKG ] || [ ! -z $(find $BASE/archlinux/ -name $PKG -mtime +6) ] ; then
SRCPACKAGE=$PKG
- echo "Building $PKG now..."
+ echo "$(date -u ) - building package $PKG now..."
# very simple locking…
mkdir -p $BASE/archlinux/$PKG
touch $BASE/archlinux/$PKG