diff --git a/build/init/fetch-linux-headers.sh b/build/init/fetch-linux-headers.sh index c04c43f..6ab78b0 100755 --- a/build/init/fetch-linux-headers.sh +++ b/build/init/fetch-linux-headers.sh @@ -27,7 +27,7 @@ generate_headers() } fetch_cos_linux_sources() -{ +{S echo "Fetching upstream kernel sources." mkdir -p "${BUILD_DIR}" curl -s "https://storage.googleapis.com/cos-tools/${BUILD_ID}/kernel-src.tar.gz" \ @@ -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}" }