From 0c9804a9a426620fd663fc0c44206b399045e2a3 Mon Sep 17 00:00:00 2001 From: Kai Lueke Date: Mon, 10 Jan 2022 16:50:06 +0100 Subject: [PATCH] set_lsb_release: only set update-engine GROUP in /usr, not /etc The default image group is already encoded in /usr/share/flatcar/update.conf but it was written to /etc/flatcar/update.conf as well. This can cause problems when the user switches channels by forcing an update to a specific release from the different channel (e.g., through the flatcar-update tool) as it leaves the file under /etc/flatcar/update.conf out of sync with the new channel version in /usr/share/flatcar/update.conf. Since we don't really need to write a specific channel to /etc on new images as we can rely on the value from /usr, we now leave any possible overwriting of the value in /etc entirely to the user. --- build_library/set_lsb_release | 4 ---- changelog/changes/2022-01-11-etc-flatcar-update-conf.md | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) create mode 100644 changelog/changes/2022-01-11-etc-flatcar-update-conf.md diff --git a/build_library/set_lsb_release b/build_library/set_lsb_release index 2fa7c1bd1e..4ea9c6e2ea 100755 --- a/build_library/set_lsb_release +++ b/build_library/set_lsb_release @@ -73,7 +73,3 @@ sudo_clobber "${ROOT_FS_DIR}/usr/share/flatcar/update.conf" <