This repository has been archived by the owner on Mar 30, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supports redirects in grsecurity patch fetching tasks
Unfortunately falling back to good ol' curl instead of using the built-in `get_url` module, due the latter lacking reliable support for redirects. That shortcoming really surprises me, so prove me wrong if you can, but the 3xxs I tested with were throwing errors. Switching to curl with the `-L` flag resolved the problems. Using `curl` means we lose access to the file metadata parameters, such as user, group, mode, etc., but since most of the build role runs without superuser privileges, and we don't need or want the patches to be executable, these are acceptable tradeoffs.
- Loading branch information