mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +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"
|
bootloader_to="${OUTPUT_DIR}/arm.mbr"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Temporary hack to fix syslinux building:
|
||||||
|
sudo umount ${ESP_FS_DIR}
|
||||||
|
|
||||||
# Update partition 12 / legacy bootloaders and arm.
|
# Update partition 12 / legacy bootloaders and arm.
|
||||||
${SCRIPTS_DIR}/update_bootloaders.sh \
|
${SCRIPTS_DIR}/update_bootloaders.sh \
|
||||||
--arch=${ARCH} \
|
--arch=${ARCH} \
|
||||||
@ -367,8 +370,11 @@ make_image_bootable() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
trap - EXIT
|
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}" \
|
${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
|
# Modifies an existing image to add development packages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user