osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/34954?usp=email )
Change subject: repo-install-test: fix ca-certificates-java error ......................................................................
repo-install-test: fix ca-certificates-java error
The repo-install-test started to fail on debian 10 with the following error. Apparently this happens when installing ca-certificates-java after installing java. Add a workaround.
Setting up ca-certificates-java (20190405) ... head: cannot open '/etc/ssl/certs/java/cacerts' for reading: No such file or directory Exception in thread "main" java.lang.InternalError: Error loading java.security file
Change-Id: I00b9c97d9d85fb37ba33a48caa732cd50de99683 --- M scripts/repo-install-test/run-inside.sh 1 file changed, 20 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/54/34954/1
diff --git a/scripts/repo-install-test/run-inside.sh b/scripts/repo-install-test/run-inside.sh index b45d76d..e08338f 100755 --- a/scripts/repo-install-test/run-inside.sh +++ b/scripts/repo-install-test/run-inside.sh @@ -185,8 +185,10 @@
case "$DISTRO" in debian10) - # Can't access https://osmocom.org otherwise + # libgnutls30: can't access https://osmocom.org otherwise + # ca-certificates-java: fails if installed after java apt-get install -y --no-install-recommends \ + ca-certificates-java \ libgnutls30 ;; esac