[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible alpine: add path prefix to LATEST_MINIROOT

Holger Levsen gitlab at salsa.debian.org
Wed Jun 5 17:56:39 BST 2019



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


Commits:
a9debc77 by kpcyrd at 2019-06-05T16:56:25Z
reproducible alpine: add path prefix to LATEST_MINIROOT

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

- - - - -


1 changed file:

- bin/reproducible_setup_alpine_schroot.sh


Changes:

=====================================
bin/reproducible_setup_alpine_schroot.sh
=====================================
@@ -29,13 +29,13 @@ bootstrap() {
 		exit 1
 	fi
 
-	rm -f "$LATEST_MINIROOT"
+	rm -f "./$LATEST_MINIROOT"
 
 	echo "$(date -u) - downloading alpine minirootfs"
 	curl -fO "$ALPINE_MIRROR/$LATEST_MINIROOT"
 
 	echo "$(date -u) - extracting alpine minirootfs"
-	sudo tar xzf "$LATEST_MINIROOT" -C "$SCHROOT_BASE/$TARGET.new"
+	sudo tar xzf "./$LATEST_MINIROOT" -C "$SCHROOT_BASE/$TARGET.new"
 
 	if [ -d "$SCHROOT_BASE/$TARGET" ]; then
 		mv "$SCHROOT_BASE/$TARGET" "$SCHROOT_BASE/$TARGET.old"
@@ -43,7 +43,7 @@ bootstrap() {
 	fi
 	mv "$SCHROOT_BASE/$TARGET.new" "$SCHROOT_BASE/$TARGET"
 
-	rm -f "$LATEST_MINIROOT"
+	rm -f "./$LATEST_MINIROOT"
 
 	# write the schroot config
 	echo "$(date -u ) - writing schroot configuration for $TARGET."



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/a9debc770c9d1b2390014ac49b33ad6c33ad69cd
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/20190605/3c786eb3/attachment.html>


More information about the Qa-jenkins-scm mailing list