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:
Michael Marineau 2016-05-05 17:33:08 -07:00
parent 3d851911c5
commit 20541226bf

View File

@ -81,7 +81,7 @@ create_prod_image() {
# Assert that if this is supposed to be an official build that the # Assert that if this is supposed to be an official build that the
# official update keys have been used. # 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 \ grep -q official \
"${root_fs_dir}"/var/db/pkg/coreos-base/coreos-au-key-*/USE \ "${root_fs_dir}"/var/db/pkg/coreos-base/coreos-au-key-*/USE \
|| die_notrace "coreos-au-key is missing the 'official' use flag" || die_notrace "coreos-au-key is missing the 'official' use flag"