[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible alpine: try absolute apk path

Holger Levsen gitlab at salsa.debian.org
Sat Jun 8 16:25:06 BST 2019



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
1922c7d1 by kpcyrd at 2019-06-08T15:20:23Z
reproducible alpine: try absolute apk path

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_alpine_scheduler.sh


Changes:

=====================================
bin/reproducible_alpine_scheduler.sh
=====================================
@@ -111,7 +111,7 @@ update_alpine_repositories() {
 					PKG_ID=$(query_db "SELECT id FROM sources WHERE distribution=$DISTROID AND name='$PKG' AND suite='$SUITE' AND architecture='$ARCH';")
 					query_db "INSERT INTO schedule (package_id, date_scheduled) VALUES ('${PKG_ID}', '$DATE');"
 				elif [ "$VERSION" != "$version" ] ; then
-					VERCMP="$(schroot --run-session -c $SESSION --directory /var/tmp -- apk version -t $version $VERSION || true)"
+					VERCMP="$(schroot --run-session -c $SESSION --directory /var/tmp -- /sbin/apk version -t $version $VERSION || true)"
 					if [ "$VERCMP" = ">" ] ; then
 						# known package with new version, so update db and schedule
 						query_db "UPDATE sources SET version = '$version' WHERE name = '$PKG' AND suite = '$SUITE' AND architecture='$ARCH' AND distribution=$DISTROID;"



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/1922c7d15296d714a1c5656346139523c2cde111

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/1922c7d15296d714a1c5656346139523c2cde111
You're receiving this email because of your account on salsa.debian.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190608/adafacba/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list