summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-07-29 00:51:24 +0800
committertranch <tranch.xiao@gmail.com>2026-07-29 00:51:24 +0800
commit52379b8b287353eaa139baacc1063ef2b8a7b28f (patch)
tree9db18e19c560ceca7c5dc1e855b583f3e319988a
parentb4f22ddbba57a9283a9c377d16db6043d7b36505 (diff)
downloadAeroCore-OS-52379b8b287353eaa139baacc1063ef2b8a7b28f.tar.gz
AeroCore-OS-52379b8b287353eaa139baacc1063ef2b8a7b28f.zip
Brand the Live installer as AeroCore OS
Update the Live ISO product metadata and system release label while preserving the Fedora version and Kinoite variant.
-rwxr-xr-xinstaller/build.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/installer/build.sh b/installer/build.sh
index a382bcf..0cc1b8a 100755
--- a/installer/build.sh
+++ b/installer/build.sh
@@ -70,7 +70,12 @@ if [[ -f /usr/share/icons/hicolor/scalable/places/distributor-logo.svg ]]; then
/usr/share/icons/hicolor/scalable/places/start-here.svg
fi
-sed -i 's/^LOGO=.*/LOGO=distributor-logo/' /usr/lib/os-release
+live_version_id="$(awk -F= '$1 == "VERSION_ID" { gsub(/\"/, "", $2); print $2; exit }' /usr/lib/os-release)"
+live_product_name="AeroCore OS"
+sed -i "s/^NAME=.*/NAME=\"${live_product_name}\"/" /usr/lib/os-release
+sed -i "s/^PRETTY_NAME=.*/PRETTY_NAME=\"${live_product_name} ${live_version_id} (Kinoite)\"/" /usr/lib/os-release
+sed -i "s/^LOGO=.*/LOGO=distributor-logo/" /usr/lib/os-release
+printf '%s release %s (Kinoite)\n' "${live_product_name}" "${live_version_id}" > /etc/system-release
for desktop_file in \
/usr/share/applications/liveinst.desktop \