Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Philip Freeman
image-builder
Commits
3ec78639
Commit
3ec78639
authored
Dec 10, 2019
by
Guido Gunther
Browse files
Fix more misuses of kernel_url instead of uboot_url
c2505d88
did only part of the job
parent
043667ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
build-image
View file @
3ec78639
...
...
@@ -211,7 +211,6 @@ echo > "${meta_yml}"
if
[
-n
"
${
kernel_url
}
"
]
;
then
fetch_kernel
fetch_uboot
"
${
uboot_type
}
"
for
deb
in
files/linux-image-
*
-
*
_arm64.deb
;
do
!
[[
"
${
deb
}
"
=
~ dbg
]]
||
continue
if
[
-n
"
${
kernel_deb
}
"
]
;
then
...
...
@@ -224,6 +223,11 @@ if [ -n "${kernel_url}" ]; then
custom_package_opt
=(
--custom-package
"
${
kernel_deb
}
"
)
fi
if
[
-n
"
${
uboot_url
}
"
]
;
then
fetch_uboot
"
${
uboot_type
}
"
echo
"Using unpackaged uboot from
${
uboot_url
}
"
fi
[
-z
"
${
kernel_deb
}
"
]
||
echo
"Using kernel
${
kernel_deb
}
"
# Preserve newlines as '|'
...
...
@@ -265,7 +269,7 @@ set +x
if
[
"
${
arch
}
"
==
"arm64"
]
;
then
if
[
!
-f
"files/uboot-
${
uboot_type
}
/m4.bin"
]
;
then
wget
-Pfiles
/uboot-
${
uboot_type
}
/
"
${
kernel
_url
}
/uboot-
${
uboot_type
}
/m4.bin"
wget
-Pfiles
/uboot-
${
uboot_type
}
/
"
${
uboot
_url
}
/uboot-
${
uboot_type
}
/m4.bin"
fi
if
[
"
${
want_boot_image
}
"
==
1
]
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment