fix: The live session's name is set after the packages (a package overwrote airootfs' os-release)

This commit is contained in:
theupriser committed 2026-09-27 21:50:24 +02:00
1 parent abb534613e
commit c6212a774b
3 files changed
+23 -5

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# steamify-customize.sh <live root>: changes to the live system after its
# packages are installed (mkarchiso runs it, see modify_mkarchiso in
# util-iso.sh); files in airootfs are copied before the packages, which
# overwrite them.
set -euo pipefail
root="$1"
# The name CachyOS Hello shows ("Steamify CachyOS, based on CachyOS rolling").
sed -i -e 's/^NAME=.*/NAME="Steamify CachyOS, based on CachyOS"/' \
-e 's/^PRETTY_NAME=.*/PRETTY_NAME="Steamify CachyOS, based on CachyOS"/' "$root/etc/os-release"