Skip to content

Commit

Permalink
Add -S to curl command when fetching generic headers
Browse files Browse the repository at this point in the history
`tar` can't seem to read what is being passed to it without this,
see jupyterhub/mybinder.org-deploy#2171 (comment)
for the error message.
  • Loading branch information
yuvipanda committed May 22, 2022
1 parent 2ac216b commit 52d5082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/init/fetch-linux-headers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fetch_generic_linux_sources()

echo "Fetching upstream kernel sources for ${kernel_version}."
mkdir -p "${BUILD_DIR}"
curl -sL "https://www.kernel.org/pub/linux/kernel/v${major_version}.x/linux-$kernel_version.tar.gz" \
curl -sSL "https://www.kernel.org/pub/linux/kernel/v${major_version}.x/linux-$kernel_version.tar.gz" \
| tar --strip-components=1 -xzf - -C "${BUILD_DIR}"
}

Expand Down

0 comments on commit 52d5082

Please sign in to comment.