mirror of
https://github.com/flatcar/scripts.git
synced 2026-01-21 08:22:24 +01:00
build_image: run grub_install.sh twice
Hopefully will work around https://github.com/coreos/bugs/issues/2284
This commit is contained in:
parent
49735bca16
commit
8b9554c170
@ -592,6 +592,15 @@ EOF
|
||||
--disk_image="${disk_img}" \
|
||||
"${grub_args[@]}"
|
||||
done
|
||||
# hack hack hack to work around grub bug. I'm so sorry
|
||||
# FIXME: ajeddeloh
|
||||
for target in ${target_list}; do
|
||||
${BUILD_LIBRARY_DIR}/grub_install.sh \
|
||||
--board="${BOARD}" \
|
||||
--target="${target}" \
|
||||
--disk_image="${disk_img}" \
|
||||
"${grub_args[@]}"
|
||||
done
|
||||
fi
|
||||
|
||||
if [[ -n "${pcr_policy}" ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user