Commit c2505d88 authored by Guido Gunther's avatar Guido Gunther
Browse files

build-image: Check correct url for https

We were checking the kernel in the u-boot block which breaks if
you e.g. get uboot via download but the kernel via KERNEL_URL
local file copy.
parent 90a1b1f3
......@@ -62,7 +62,7 @@ fetch_uboot() {
[ -n "${uboot_url}" ] || { echo "uboot_url not set in board config"; exit 1; }
rm -f "${dir}/"
echo "Fetching uboot from ${uboot_url}"
if [[ "${kernel_url}" =~ https:// ]]; then
if [[ "${uboot_url}" =~ https:// ]]; then
wget "${JENKINS_AUTH[@]}" -nv --no-glob -P"${dir}" "${uboot_url}"
(cd "${dir}" && unzip -ojq
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment