From 487a078cd33f3b1319b85cf10d3af1485bd46e6f Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Tue, 22 Jun 2021 16:12:23 +0200 Subject: [PATCH] CI/openSUSE: Fix tpm_server symlink creation This symlink is missing only on openSUSE Tumbleweed, it exists on openSUSE Leap, thus build failed. Signed-off-by: Petr Vorel Signed-off-by: Mimi Zohar --- ci/tumbleweed.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/tumbleweed.sh b/ci/tumbleweed.sh index ecd2372..dfc478b 100755 --- a/ci/tumbleweed.sh +++ b/ci/tumbleweed.sh @@ -42,6 +42,6 @@ zypper --non-interactive install --force-resolution --no-recommends \ which \ xsltproc -if [ -f /usr/lib/ibmtss/tpm_server ]; then +if [ -f /usr/lib/ibmtss/tpm_server -a ! -e /usr/local/bin/tpm_server ]; then ln -s /usr/lib/ibmtss/tpm_server /usr/local/bin fi