From 3172b7e29699c35d38e53ebe1c26091ba6212e2d Mon Sep 17 00:00:00 2001 From: Andrew de los Reyes Date: Thu, 15 Jul 2010 22:10:47 -0700 Subject: [PATCH] build_image: add temporary hack to fix syslinux building. Will Drewry is working on the proper fix, but this unblocks people who build images that boot w/ syslinux. Review URL: http://codereview.chromium.org/3009003 --- build_image | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build_image b/build_image index 6741859c49..5cc36e1727 100755 --- a/build_image +++ b/build_image @@ -351,6 +351,9 @@ make_image_bootable() { bootloader_to="${OUTPUT_DIR}/arm.mbr" fi + # Temporary hack to fix syslinux building: + sudo umount ${ESP_FS_DIR} + # Update partition 12 / legacy bootloaders and arm. ${SCRIPTS_DIR}/update_bootloaders.sh \ --arch=${ARCH} \ @@ -367,8 +370,11 @@ make_image_bootable() { fi trap - EXIT + # Temporary hack to fix syslinux building, comment out -e ${ESP_FS_DIR} + # ${SCRIPTS_DIR}/mount_gpt_image.sh -u -r "${ROOT_FS_DIR}" \ + # -s "${STATEFUL_FS_DIR}" -e "${ESP_FS_DIR}" ${SCRIPTS_DIR}/mount_gpt_image.sh -u -r "${ROOT_FS_DIR}" \ - -s "${STATEFUL_FS_DIR}" -e "${ESP_FS_DIR}" + -s "${STATEFUL_FS_DIR}" } # Modifies an existing image to add development packages