Skip to content

Commit 2977c52

Browse files
authored
Restore Flatcar detection in install script (#14552)
* Restore Flatcar detection in install script Refs #14018 Signed-off-by: SillyZir <[email protected]> * Update install.sh.sha256sum Signed-off-by: SillyZir <[email protected]> --------- Signed-off-by: SillyZir <[email protected]> Co-authored-by: SillyZir <[email protected]>
1 parent 2485f74 commit 2977c52

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎install.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,8 @@ setup_selinux() {
613613
rpm_site_infix=slemicro
614614
fi
615615

616-
# cover any atomic fedora flavors using rpm-ostree
617-
elif { [ "${ID:-}" = fedora ] || [ "${ID_LIKE:-}" = fedora ]; } && [ -n "${OSTREE_VERSION:-}" ]; then
616+
# cover coreos derivatives like flatcar, plus any atomic fedora flavors using rpm-ostree
617+
elif [ "${ID_LIKE:-}" = coreos ] || { { [ "${ID:-}" = fedora ] || [ "${ID_LIKE:-}" = fedora ]; } && [ -n "${OSTREE_VERSION:-}" ]; }; then
618618
rpm_target=coreos
619619
rpm_site_infix=coreos
620620
package_installer=rpm-ostree

‎install.sh.sha256sum‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ed01f89fd977bf20ac1516bbebf8370bf3ddbaa55dac8aba610956a4c78cc00b install.sh
1+
e5cc3b3d9dfc1662c2d9be6da5abc9a4cd317d6abc3a5ffc02e3dd3248207fee install.sh

0 commit comments

Comments
 (0)