From e3a24c386744672efe768e559a07ed8d17e1ab6a Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Wed, 1 Jun 2016 15:12:50 -0700 Subject: [PATCH] set_lsb_release: use an alternate app id for arm64 update_engine and CoreUpdate aren't quite ready, use an alternate id so we can continue testing but not mistakenly serve amd64 updates to arm64. --- build_library/set_lsb_release | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build_library/set_lsb_release b/build_library/set_lsb_release index 452d9636af..69e82e1106 100755 --- a/build_library/set_lsb_release +++ b/build_library/set_lsb_release @@ -30,6 +30,13 @@ OS_CODENAME="MoreOS" OS_ID="${OS_NAME,,}" # lower case for os-release OS_PRETTY_NAME="$OS_NAME $COREOS_VERSION (${OS_CODENAME})" +# temporarily point arm at a different appid until update support +# is completed in update_engine and the CoreUpdate service. +COREOS_APPID="{e96281a6-d1af-4bde-9a0a-97b76e56dc57}" +if [[ "${FLAGS_board}" == arm64-* ]]; then + COREOS_APPID="{103867da-e3a2-4c92-b0b3-7fbd7f7d8b71}" +fi + # DISTRIB_* are the standard lsb-release names sudo mkdir -p "${ROOT_FS_DIR}/usr/share/coreos" "${ROOT_FS_DIR}/etc/coreos" sudo_clobber "${ROOT_FS_DIR}/usr/share/coreos/lsb-release" <