Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion util/build-gnu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if test ! -d "${path_GNU}/README"; then
echo "Extracting GNU tar..."
mkdir -p "${path_GNU}"
cd "${path_GNU}"
curl -fsSL https://ftpmirror.gnu.org/tar/tar-1.35.tar.xz -o gnu-tar.tar.xz
curl -fsSL --retry 5 https://ftpmirror.gnu.org/tar/tar-1.35.tar.xz -o gnu-tar.tar.xz

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this is just us setting up to DoS some poor system. We need to cache this on GH and use that. I'll try to do that this evening or tomorrow.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We met cache slashing at uutils/coreutils repo at cache action. We need our mirror.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about for m in mirror_list;do curl ...?

echo e1a200d21f433cd7d917dd979db16919a9167056ae62cf7d038a6118e56b2fe419cd4a396eee66f1f4dc13a8dc380e23f6ffd7ee0ca84e5dd9ad9411f60e002c gnu-tar.tar.xz \
| b2sum --check
tar xJf gnu-tar.tar.xz --strip-components=1
Expand Down
Loading