From ff6af5ea8ff750ee47946643a1d702475582c307 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Mon, 5 Aug 2013 22:33:13 -0400 Subject: [PATCH] feat(set_lsb_release): Add special "sdk" track without an update server. I want to start including version info in SDK builds as an alternative scheme to the existing "chroot_version_hooks" system which always assumes freshly unpacked SDKs are the latest regardless of what version they actually were. --- build_library/set_lsb_release | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build_library/set_lsb_release b/build_library/set_lsb_release index 93bb9cc737..27a54f40aa 100755 --- a/build_library/set_lsb_release +++ b/build_library/set_lsb_release @@ -36,7 +36,11 @@ if [[ -n "${FLAGS_production_track}" ]]; then COREOS_VERSION_TRACK="${FLAGS_production_track}" COREOS_VERSION_DESCRIPTION="${COREOS_VERSION_STRING} (Official Build) \ ${COREOS_VERSION_TRACK} $FLAGS_board test" - COREOS_VERSION_AUSERVER="https://api.core-os.net/v1/update/" + if [[ "${FLAGS_production_track}" != "sdk" ]]; then + COREOS_VERSION_AUSERVER="https://api.core-os.net/v1/update/" + else + COREOS_VERSION_AUSERVER="" + fi COREOS_VERSION_DEVSERVER="" else # Developer hand-builds