mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
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
This commit is contained in:
parent
21d93ccac3
commit
3172b7e296
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user