mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 21:46:58 +02:00
Fix factory install shim w/ legacy x86 boot.
Install shim images are broken when booting from legacy x86 BIOS. The install shim relies upon "cros_factory_install" being passed as a boot flag. This flag is never passed to create_legacy_bootloader_templates, so the install shim flow is broken. This change passes the boot args flags to create_legacy_bootloader... so the install shim will function normally. TEST=Create factory_install image, verify correct boot w/ x86 BIOS. BUG=chrome-os-partner:15661 Change-Id: I46b2be188f48b7626bfd3235d5788410c7488c42 Reviewed-on: https://gerrit.chromium.org/gerrit/36590 Tested-by: Shawn Nematbakhsh <shawnn@google.com> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Liam McLoughlin <lmcloughlin@chromium.org> Commit-Ready: Shawn Nematbakhsh <shawnn@google.com>
This commit is contained in:
parent
32228223d6
commit
a84e93a688
@ -220,6 +220,7 @@ create_base_image() {
|
|||||||
${BUILD_LIBRARY_DIR}/create_legacy_bootloader_templates.sh \
|
${BUILD_LIBRARY_DIR}/create_legacy_bootloader_templates.sh \
|
||||||
--arch=${ARCH} \
|
--arch=${ARCH} \
|
||||||
--to="${root_fs_dir}"/boot \
|
--to="${root_fs_dir}"/boot \
|
||||||
|
--boot_args="${FLAGS_boot_args}" \
|
||||||
${enable_rootfs_verification}
|
${enable_rootfs_verification}
|
||||||
|
|
||||||
# Don't test the factory install shim
|
# Don't test the factory install shim
|
||||||
|
Loading…
Reference in New Issue
Block a user