From 07e350578b01b185ed530ef25ac9dbaae29e6630 Mon Sep 17 00:00:00 2001 From: Will Drewry Date: Fri, 9 Jul 2010 14:50:42 -0700 Subject: [PATCH] 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 --- build_image | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build_image b/build_image index f01753214f..90042562b7 100755 --- a/build_image +++ b/build_image @@ -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' ')"