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
@@ -2,11 +2,10 @@
|
|||||||
|
|
||||||
## Open
|
## Open
|
||||||
|
|
||||||
1. **Test the live session** after the next build (`build-live-modules.sh`
|
1. **Check the live name** after the next build: Hello's subtitle should say
|
||||||
runs in the container before buildiso.sh): Vapor look and layout at the
|
"Steamify CachyOS, based on CachyOS rolling" (`steamify-customize.sh`,
|
||||||
live login, `lsmod | grep steamify` in the live session (on the Steam
|
run by mkarchiso after the packages; the airootfs copy of os-release is
|
||||||
Machine it loads; in the VM with `--fremont` too), and shutting down from
|
overwritten by a package).
|
||||||
the live session on the real Steam Machine stays off.
|
|
||||||
2. **Steamify PR**: `feat/defaults-mode` (2.6.0, `b948c20`) in
|
2. **Steamify PR**: `feat/defaults-mode` (2.6.0, `b948c20`) in
|
||||||
steamify-cachyos, pushed, no PR yet (checked 2026-09-27: not on main,
|
steamify-cachyos, pushed, no PR yet (checked 2026-09-27: not on main,
|
||||||
newest release v2.5.2). Ready: open it; the user
|
newest release v2.5.2). Ready: open it; the user
|
||||||
@@ -17,6 +16,11 @@
|
|||||||
|
|
||||||
## Done
|
## Done
|
||||||
|
|
||||||
|
- **Live session** (VM, `--fremont`): Vapor look and layout (Steam Deck
|
||||||
|
wallpaper) at the live login; the power-off module is built for both ISO
|
||||||
|
kernels and loaded at boot, in the VM it returns "No such device" (no
|
||||||
|
AMDI0030 GPIO controller), as designed. Whether it keeps the real Steam
|
||||||
|
Machine off is part of the hardware test.
|
||||||
- **Regression test 2.6.0 on an existing desktop install** (test VM from
|
- **Regression test 2.6.0 on an existing desktop install** (test VM from
|
||||||
ssh-ready, `--fremont`): full first run, re-apply, notifications/CEC/theme
|
ssh-ready, `--fremont`): full first run, re-apply, notifications/CEC/theme
|
||||||
off and on again. No errors; user units enabled and running, theme applied
|
off and on again. No errors; user units enabled and running, theme applied
|
||||||
|
|||||||
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"
|
||||||
@@ -129,6 +129,10 @@ modify_mkarchiso() {
|
|||||||
else
|
else
|
||||||
msg "mkarchiso is already patched!"
|
msg "mkarchiso is already patched!"
|
||||||
fi
|
fi
|
||||||
|
# Steamify: live-system changes after the packages (they overwrite airootfs).
|
||||||
|
if ! grep -q 'steamify-customize.sh' /usr/bin/mkarchiso; then
|
||||||
|
sudo sed "s#_run_once _make_customize_airootfs#_run_once _make_customize_airootfs\n\t${src_dir}/steamify-customize.sh \"\${pacstrap_dir}\"#" -i /usr/bin/mkarchiso
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare_profile(){
|
prepare_profile(){
|
||||||
|
|||||||
Reference in new issue
Block a user