Skip to content

Commit

Permalink
build_image: run grub_install.sh twice
Browse files Browse the repository at this point in the history
Hopefully will work around coreos/bugs#2284
  • Loading branch information
Andrew Jeddeloh committed Mar 29, 2018
1 parent 49735bc commit 54ffa94
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build_library/build_image_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,13 @@ EOF
--disk_image="${disk_img}" \
"${grub_args[@]}"
done
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
Expand Down

0 comments on commit 54ffa94

Please sign in to comment.