summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorMarcello Sylvester Bauer <sylvblck@sylv.io>2019-08-30 10:57:49 -0700
committerPatrick Georgi <pgeorgi@google.com>2019-09-02 06:38:57 +0000
commit58e033d97db189b1a8e23fceb6f128ef3e9f740a (patch)
treef8281457de120398341abb3b0d0547ede6fa3536 /payloads
parentd9a6afe1a4807c92386c5404ccb8bc9b4e91b916 (diff)
downloadcoreboot-58e033d97db189b1a8e23fceb6f128ef3e9f740a.tar.xz
payloads/external/LinuxBoot: Add curl flag
add --show-error curl flag to see the error message, even on silent mode. Signed-off-by: Marcello Sylvester Bauer <sylvblck@sylv.io> Change-Id: I4ad40718caab60413ffe9c1503a9870cb875dd43 Reviewed-on: https://review.coreboot.org/c/coreboot/+/35169 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/external/LinuxBoot/targets/linux.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/external/LinuxBoot/targets/linux.mk b/payloads/external/LinuxBoot/targets/linux.mk
index e32ad1e21b..b7b3a0de94 100644
--- a/payloads/external/LinuxBoot/targets/linux.mk
+++ b/payloads/external/LinuxBoot/targets/linux.mk
@@ -33,7 +33,7 @@ OBJCOPY:=$(LINUXBOOT_CROSS_COMPILE)objcopy
ifeq ($(CONFIG_LINUXBOOT_KERNEL_CUSTOM),y)
kernel_version:=$(CONFIG_LINUXBOOT_KERNEL_CUSTOM_VERSION)
else
- kernel_version:=$(shell curl -s -k https://www.kernel.org/feeds/kdist.xml | \
+ kernel_version:=$(shell curl -sS -k https://www.kernel.org/feeds/kdist.xml | \
sed -n -e 's@.*<guid isPermaLink="false">\(.*\)</guid>.*@\1@p' | \
awk -F ',' '/$(TAG-y)/{ print $$3 }' | \
head -n 1)
@@ -67,7 +67,7 @@ ifneq ($(shell [[ -d "$(kernel_dir)" && -f "$(kernel_dir)/$(decompress_flag)" ]]
if [[ ! -f $(tarball_dir)/$(kernel_tarball).xz && ! -f $(tarball_dir)/$(kernel_tarball).xz ]]; then \
echo " WWW $(kernel_tarball).xz"; \
cd $(tarball_dir); \
- curl -OLs "$(kernel_mirror_path)/$(kernel_tarball).xz"; \
+ curl -OLSs "$(kernel_mirror_path)/$(kernel_tarball).xz"; \
cd $(pwd); \
fi
endif