From 8e0b3f00becaecddbc2d460c781d70e329c2a71c Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Thu, 15 Apr 2021 13:27:28 +0200 Subject: [PATCH] tests/install-swtpm.sh: Add tar option --no-same-owner to workaround running out of subuids/subgids when using podman: tar: ./LICENSE: Cannot change ownership to uid 339315, gid 578953: Invalid argument (run script under sudo would also work, but this does not require it) Signed-off-by: Petr Vorel Signed-off-by: Mimi Zohar --- tests/install-swtpm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/install-swtpm.sh b/tests/install-swtpm.sh index 2d8293a..2666748 100755 --- a/tests/install-swtpm.sh +++ b/tests/install-swtpm.sh @@ -6,7 +6,7 @@ version=1637 wget --no-check-certificate https://sourceforge.net/projects/ibmswtpm2/files/ibmtpm${version}.tar.gz/download mkdir ibmtpm$version cd ibmtpm$version -tar -xvzf ../download +tar --no-same-owner -xvzf ../download cd src make -j$(nproc) sudo cp tpm_server /usr/local/bin/