From d18adef96090ebc86bcb4d9183098ea73ef17310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iago=20L=C3=B3pez=20Galeiras?= Date: Mon, 19 Mar 2018 15:30:53 +0100 Subject: [PATCH] set_lsb_release: change distro name to Flatcar Also, change default update server to Flatcar's. --- build_library/set_lsb_release | 46 +++++++++++++++++------------------ contrib/create-coreos-vdi | 4 +-- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/build_library/set_lsb_release b/build_library/set_lsb_release index 3c7a88cdc2..fe9598c831 100755 --- a/build_library/set_lsb_release +++ b/build_library/set_lsb_release @@ -25,57 +25,57 @@ ROOT_FS_DIR="$FLAGS_root" [ -n "$ROOT_FS_DIR" ] || die "--root is required." [ -d "$ROOT_FS_DIR" ] || die "Root FS does not exist? ($ROOT_FS_DIR)" -OS_NAME="Container Linux by CoreOS" +OS_NAME="Flatcar Linux by Kinvolk" OS_CODENAME="Rhyolite" -OS_ID="coreos" -OS_PRETTY_NAME="$OS_NAME $COREOS_VERSION (${OS_CODENAME})" +OS_ID="flatcar" +OS_PRETTY_NAME="$OS_NAME $FLATCAR_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}" +FLATCAR_APPID="{e96281a6-d1af-4bde-9a0a-97b76e56dc57}" if [[ "${FLAGS_board}" == arm64-* ]]; then - COREOS_APPID="{103867da-e3a2-4c92-b0b3-7fbd7f7d8b71}" + FLATCAR_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" <