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
Thu Feb 11 15:06:07 UTC 2021


osmith has submitted this change. ( 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(-)

Approvals:
  osmith: Looks good to me, approved; Verified
  laforge: Looks good to me, but someone else must approve
  pespin: Looks good to me, but someone else must approve



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: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210211/44262306/attachment.htm>


More information about the gerrit-log mailing list