From eeb6fc2133984c175754e6eba0d12d81ca01fbb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iago=20L=C3=B3pez=20Galeiras?= Date: Mon, 19 Mar 2018 15:31:12 +0100 Subject: [PATCH] set_lsb_release: add ID_LIKE field in os-release So applications that do the right thing and check ID_LIKE if ID doesn't match what they want can identify us as a variant of Container Linux. --- build_library/set_lsb_release | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_library/set_lsb_release b/build_library/set_lsb_release index fe9598c831..3cac245e19 100755 --- a/build_library/set_lsb_release +++ b/build_library/set_lsb_release @@ -28,6 +28,7 @@ ROOT_FS_DIR="$FLAGS_root" OS_NAME="Flatcar Linux by Kinvolk" OS_CODENAME="Rhyolite" OS_ID="flatcar" +OS_ID_LIKE="coreos" OS_PRETTY_NAME="$OS_NAME $FLATCAR_VERSION (${OS_CODENAME})" # temporarily point arm at a different appid until update support @@ -52,6 +53,7 @@ sudo ln -sf "../usr/share/flatcar/lsb-release" "${ROOT_FS_DIR}/etc/lsb-release" sudo_clobber "${ROOT_FS_DIR}/usr/lib/os-release" <