mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-07-02 13:43:16 +02:00
CI: Rename travis script directory
This is a preparation for adding GitHub Actions support. Also run from root directory. It's a bit confusing to run from travis directory. Signed-off-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
This commit is contained in:
47
ci/tumbleweed.sh
Executable file
47
ci/tumbleweed.sh
Executable file
@ -0,0 +1,47 @@
|
||||
#!/bin/sh
|
||||
# Copyright (c) 2020 Petr Vorel <pvorel@suse.cz>
|
||||
set -ex
|
||||
|
||||
if [ -z "$CC" ]; then
|
||||
echo "missing \$CC!" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case "$TSS" in
|
||||
ibmtss) TSS="ibmtss-devel";;
|
||||
tpm2-tss) TSS="tpm2-0-tss-devel";;
|
||||
'') echo "Missing TSS!" >&2; exit 1;;
|
||||
*) echo "Unsupported TSS: '$TSS'!" >&2; exit 1;;
|
||||
esac
|
||||
|
||||
# clang has some gcc dependency
|
||||
[ "$CC" = "gcc" ] || CC="gcc $CC"
|
||||
|
||||
zypper --non-interactive install --force-resolution --no-recommends \
|
||||
$CC $TSS \
|
||||
asciidoc \
|
||||
attr \
|
||||
autoconf \
|
||||
automake \
|
||||
diffutils \
|
||||
docbook_5 \
|
||||
docbook5-xsl-stylesheets \
|
||||
gzip \
|
||||
ibmswtpm2 \
|
||||
keyutils-devel \
|
||||
libattr-devel \
|
||||
libopenssl-devel \
|
||||
libtool \
|
||||
make \
|
||||
openssl \
|
||||
pkg-config \
|
||||
procps \
|
||||
sudo \
|
||||
vim \
|
||||
wget \
|
||||
which \
|
||||
xsltproc
|
||||
|
||||
if [ -f /usr/lib/ibmtss/tpm_server ]; then
|
||||
ln -s /usr/lib/ibmtss/tpm_server /usr/local/bin
|
||||
fi
|
Reference in New Issue
Block a user