From e1a2fdffc778fe03db37943aec03db9172a71948 Mon Sep 17 00:00:00 2001 From: AJ Jordan Date: Thu, 10 Oct 2024 04:00:51 -0400 Subject: [PATCH] Fix a bunch more osrelease.sh bugs --- osrelease.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/osrelease.sh b/osrelease.sh index 9d04093..b07d415 100755 --- a/osrelease.sh +++ b/osrelease.sh @@ -8,6 +8,8 @@ set -euo pipefail IMAGE_VENDOR="SeaGL" IMAGE_NAME="av-linux" IMAGE_BRANCH="main" +IMAGE_FLAVOR="main" +BASE_IMAGE_NAME="${SOURCE_IMAGE^}" IMAGE_PRETTY_NAME="SeaGL A/V Linux" IMAGE_LIKE="fedora" @@ -48,22 +50,22 @@ cat > $IMAGE_INFO <> /usr/lib/os-release fi -echo "BOOTLOADER_NAME=\"$IMAGE_PRETTY_NAME $VERSION_PRETTY\"" >> /usr/lib/os-release +echo "BOOTLOADER_NAME=\"$IMAGE_PRETTY_NAME $CODE_NAME\"" >> /usr/lib/os-release # Fix issues caused by ID no longer being fedora sed -i "s/^EFIDIR=.*/EFIDIR=\"fedora\"/" /usr/sbin/grub2-switch-to-blscfg