mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 14:01:43 +01:00
prod_image_util: do not check update keys on arm64
arm64-usr doesn't have update_engine yet so this isn't valid.
This commit is contained in:
parent
3d851911c5
commit
20541226bf
@ -81,7 +81,7 @@ create_prod_image() {
|
||||
|
||||
# Assert that if this is supposed to be an official build that the
|
||||
# official update keys have been used.
|
||||
if [[ ${COREOS_OFFICIAL:-0} -eq 1 ]]; then
|
||||
if [[ ${COREOS_OFFICIAL:-0} -eq 1 && "${BOARD}" != arm64-usr ]]; then
|
||||
grep -q official \
|
||||
"${root_fs_dir}"/var/db/pkg/coreos-base/coreos-au-key-*/USE \
|
||||
|| die_notrace "coreos-au-key is missing the 'official' use flag"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user