Change in docker-playground[master]: debian-stretch-titan: prepare: run 'make deps'

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Wed Feb 10 16:18:56 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/22820 )


Change subject: debian-stretch-titan: prepare: run 'make deps'
......................................................................

debian-stretch-titan: prepare: run 'make deps'

Run 'make deps' in ttcn3-docker-prepare.sh, if needed.

Related: OS#5017
Change-Id: I9085203b27d310b63a035fd71f7c2a78d02710d4
---
M debian-stretch-titan/ttcn3-docker-prepare.sh
1 file changed, 7 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/20/22820/1

diff --git a/debian-stretch-titan/ttcn3-docker-prepare.sh b/debian-stretch-titan/ttcn3-docker-prepare.sh
index d7363f5..2b3cbd7 100755
--- a/debian-stretch-titan/ttcn3-docker-prepare.sh
+++ b/debian-stretch-titan/ttcn3-docker-prepare.sh
@@ -25,4 +25,11 @@
 git rev-parse --abbrev-ref HEAD
 git rev-parse HEAD
 
+# Update deps if Makefile changed since last 'make deps' (e.g. because
+# OSMO_TTCN3_BRANCH is different). The Dockerfile does the initial 'make deps'
+# and downloads /tmp/deps-Makefile.
+if ! diff -q /tmp/deps-Makefile deps/Makefile; then
+	make deps
+fi
+
 make "$PROJECT"

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/22820
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I9085203b27d310b63a035fd71f7c2a78d02710d4
Gerrit-Change-Number: 22820
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210210/e7f1cc90/attachment.htm>


More information about the gerrit-log mailing list