Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(771)

Unified Diff: build_image

Issue 2911003: build_image: enable syslinux installation for x86 (Closed) Base URL: ssh://git@gitrw.chromium.org/crosutils.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build_image
diff --git a/build_image b/build_image
index f01753214f5cef91adc858c9d2efc3be4ad7372b..90042562b7035daa344c2e854e135970a201ae21 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' ')"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698