mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
build_image: disable verity on arm64
Our current scheme injects the verity hash into a free spot in x86 kernel images. This is a bad thing to try on other types ;-)
This commit is contained in:
parent
75388260a9
commit
678c37c3c2
@ -88,6 +88,11 @@ switch_to_strict_mode
|
||||
|
||||
check_gsutil_opts
|
||||
|
||||
# Inserting the verity hash into the kernel assumes x86_64
|
||||
if [[ "${FLAGS_board}" != amd64-usr ]]; then
|
||||
FLAGS_enable_rootfs_verification=${FLAGS_FALSE}
|
||||
fi
|
||||
|
||||
# If downloading packages is enabled ensure the board is configured properly.
|
||||
if [[ ${FLAGS_getbinpkg} -eq ${FLAGS_TRUE} ]]; then
|
||||
"${SRC_ROOT}/scripts/setup_board" --board="${FLAGS_board}" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user