mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
fix: The live session's name is set after the packages (a package overwrote airootfs' os-release)
This commit is contained in:
1 parent
abb534613e
commit
c6212a774b
3 files changed
+23
-5
No files matched your search
Executable
+10
@@ -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"
|
||||
Reference in new issue
Block a user