mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
Remove now redundant hybrid MBR option (this is handled by board scripts now)
BUG=none TEST=Build image for board that requires hybrid MBR without this flag and verify it boots Change-Id: Idfb7886c28bb887f5fca4607824a5bbf5255fb98 Reviewed-on: https://gerrit.chromium.org/gerrit/36248 Reviewed-by: Don Garrett <dgarrett@chromium.org> Commit-Ready: Liam McLoughlin <lmcloughlin@chromium.org> Tested-by: Liam McLoughlin <lmcloughlin@chromium.org>
This commit is contained in:
parent
ea75b60a45
commit
99961380a6
@ -39,8 +39,6 @@ DEFINE_boolean factory_install ${FLAGS_FALSE} \
|
|||||||
"generate a factory install shim"
|
"generate a factory install shim"
|
||||||
DEFINE_boolean factory ${FLAGS_FALSE} \
|
DEFINE_boolean factory ${FLAGS_FALSE} \
|
||||||
"generate a factory runing image, implies autotest and test"
|
"generate a factory runing image, implies autotest and test"
|
||||||
DEFINE_boolean hybrid_mbr ${FLAGS_FALSE} \
|
|
||||||
"Creates a hybrid MBR rather than a protective one"
|
|
||||||
DEFINE_boolean copy_kernel ${FLAGS_FALSE} \
|
DEFINE_boolean copy_kernel ${FLAGS_FALSE} \
|
||||||
"copy the kernel to the fourth partition"
|
"copy the kernel to the fourth partition"
|
||||||
DEFINE_boolean test_image "${FLAGS_FALSE}" \
|
DEFINE_boolean test_image "${FLAGS_FALSE}" \
|
||||||
@ -367,11 +365,6 @@ if [ -b "${FLAGS_to}" ]; then
|
|||||||
--arch="${FLAGS_arch}" \
|
--arch="${FLAGS_arch}" \
|
||||||
--payload_image="${SRC_IMAGE}" \
|
--payload_image="${SRC_IMAGE}" \
|
||||||
--dst="${FLAGS_to}"
|
--dst="${FLAGS_to}"
|
||||||
|
|
||||||
# Setup hybrid MBR if it was enabled
|
|
||||||
if [[ ${FLAGS_hybrid_mbr} -eq ${FLAGS_TRUE} ]]; then
|
|
||||||
install_hybrid_mbr "${FLAGS_to}"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
elif [[ "${FLAGS_to}" == /dev/* ]]; then
|
elif [[ "${FLAGS_to}" == /dev/* ]]; then
|
||||||
# Did the user attempt to write to a non-existent block device?
|
# Did the user attempt to write to a non-existent block device?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user