From 683121869e2edde020c28dcb8e7b6d6cd4d0055d Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Mon, 5 Aug 2024 13:00:23 -0700 Subject: [PATCH] chore: Further expand ID_LIKE --- .../desktop/shared/usr/libexec/containerbuild/image-info | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system_files/desktop/shared/usr/libexec/containerbuild/image-info b/system_files/desktop/shared/usr/libexec/containerbuild/image-info index bc314dfe..88aa2e05 100755 --- a/system_files/desktop/shared/usr/libexec/containerbuild/image-info +++ b/system_files/desktop/shared/usr/libexec/containerbuild/image-info @@ -3,6 +3,7 @@ set -oue pipefail IMAGE_PRETTY_NAME="Bazzite" +IMAGE_LIKE="rhel centos fedora bluefin aurora nobara" HOME_URL="https://bazzite.gg" DOCUMENTATION_URL="https://docs.bazzite.gg" SUPPORT_URL="https://discord.bazzite.gg" @@ -52,7 +53,7 @@ sed -i "s|^SUPPORT_URL=.*|SUPPORT_URL=\"$SUPPORT_URL\"|" /usr/lib/os-release sed -i "s|^BUG_REPORT_URL=.*|BUG_REPORT_URL=\"$BUG_SUPPORT_URL\"|" /usr/lib/os-release sed -i "s|^CPE_NAME=\"cpe:/o:fedoraproject:fedora|CPE_NAME=\"cpe:/o:universal-blue:${IMAGE_PRETTY_NAME,}|" /usr/lib/os-release sed -i "s/^DEFAULT_HOSTNAME=.*/DEFAULT_HOSTNAME=\"${IMAGE_PRETTY_NAME,}\"/" /usr/lib/os-release -sed -i "s/^ID=fedora/ID=${IMAGE_PRETTY_NAME,}\nID_LIKE=\"rhel centos fedora nobara\"/" /usr/lib/os-release +sed -i "s/^ID=fedora/ID=${IMAGE_PRETTY_NAME,}\nID_LIKE=\"${IMAGE_LIKE}\"/" /usr/lib/os-release sed -i "s/^LOGO=.*/LOGO=$LOGO_ICON/" /usr/lib/os-release sed -i "s/^ANSI_COLOR=.*/ANSI_COLOR=\"$LOGO_COLOR\"/" /usr/lib/os-release sed -i "/^REDHAT_BUGZILLA_PRODUCT=/d; /^REDHAT_BUGZILLA_PRODUCT_VERSION=/d; /^REDHAT_SUPPORT_PRODUCT=/d; /^REDHAT_SUPPORT_PRODUCT_VERSION=/d" /usr/lib/os-release