File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -233,14 +233,18 @@ function write_uboot_extlinux() {
233
233
declare bootargs=" ${UBOOT_EXTLINUX_CMDLINE} console=${UBOOT_KERNEL_SERIALCON}${console_extra_args} "
234
234
log info " Writing extlinux.conf; kernel cmdline: ${bootargs} "
235
235
236
+ declare -g -a bootable_tinkerbell_kernel_params=()
237
+ fill_array_bootable_tinkerbell_kernel_parameters " ${BOARD} "
238
+ declare tinkerbell_args=" ${bootable_tinkerbell_kernel_params[*]} "
239
+
236
240
mkdir -p " ${fat32_root_dir} /extlinux"
237
241
declare extlinux_conf=" ${fat32_root_dir} /extlinux/extlinux.conf"
238
242
cat << - EXTLINUX_CONF > "${extlinux_conf} "
239
243
DEFAULT hook
240
244
LABEL hook
241
245
linux /vmlinuz
242
246
initrd /initramfs
243
- append ${bootargs}
247
+ append ${bootargs} ${tinkerbell_args}
244
248
fdt /dtb/${UBOOT_KERNEL_DTB}
245
249
EXTLINUX_CONF
246
250
# @TODO: fdtdir when UBOOT_KERNEL_DTB is unset
You can’t perform that action at this time.
0 commit comments