From bec656d9a8d11621f137ec7f947580e6b6b8eb48 Mon Sep 17 00:00:00 2001 From: aboyko Date: Fri, 15 Dec 2023 10:02:36 -0500 Subject: [PATCH] GHA: Re-tar linux distro to remove FreeBSD tar headers coming from tycho embedded tar --- .github/workflows/gh-hosted-eclipse-distro-build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/gh-hosted-eclipse-distro-build.yml b/.github/workflows/gh-hosted-eclipse-distro-build.yml index 08c30fb9b..d523e8424 100644 --- a/.github/workflows/gh-hosted-eclipse-distro-build.yml +++ b/.github/workflows/gh-hosted-eclipse-distro-build.yml @@ -99,6 +99,12 @@ jobs: files=`ls spring-tool-suite-4*linux*.tar.gz` for file in $files do + echo "Re-archive using tar.gz on linux runner to remove LIBARCHIVE headers" + mkdir extracted + tar -xzvf $file --directory ./extracted + tar -czvf $file ./extracted + rm -rf extracted + echo "Generate checksums for ${file}" shasum -a 256 $file > ${file}.sha256 md5sum $file > ${file}.md5