mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 05:56:58 +02:00
build_image: enable syslinux installation for x86
Adds the --install_syslinux to the update_bootloaders call for x86. BUG=chromium-os:2693 TEST=build_image with both tegra2 and x86-generic in progress. Doesn't affect actual booting until we change the active gpt boot partition. Review URL: http://codereview.chromium.org/2911003
This commit is contained in:
parent
f9acd8e3d3
commit
07e350578b
@ -326,8 +326,10 @@ make_image_bootable() {
|
||||
sudo dd if="${OUTPUT_DIR}/vmlinuz.image" of="${OUTPUT_DIR}/${image_name}" \
|
||||
conv=notrunc bs=512 seek=${koffset}
|
||||
|
||||
# Populate the legacy/efi bootloader partition.
|
||||
# Update the bootloaders. For legacy/efi x86, the EFI system partition
|
||||
# will be updated and for arm, the mbr will be updated (for u-boot).
|
||||
local kernel_part="--kernel_partition='${OUTPUT_DIR}/vmlinuz.image'"
|
||||
kernel_part="${kernel_part} --install_syslinux"
|
||||
local bootloader_to="${ESP_FS_IMG}"
|
||||
local usb_disk="${FLAGS_usb_disk}"
|
||||
local bootloader_to="$(mount | grep ${ESP_FS_DIR} | cut -f1 -d' ')"
|
||||
|
Loading…
Reference in New Issue
Block a user