uvms: start actually using the recompiled kernel

...still with an initrd, and very much not useful - bot it boots!
This commit is contained in:
Else Someone 2026-03-04 01:41:33 +02:00
parent 95c0a1d72b
commit db4e7809d1
3 changed files with 224 additions and 206 deletions

View file

@ -28,7 +28,22 @@ class Processes:
res = {}
text = run.get("text", False)
env = {
**os.environ,
**{
k: v
for k, v in os.environ.items()
# if any(
# k.startswith(prefix)
# for prefix in (
# "XDG_",
# "NIX_",
# "RUST_",
# "WAYLAND_",
# "DBUS_",
# "HOME",
# "PS",
# )
# )
},
"PATH": ":".join(
[
*os.environ.get("PATH", "").split(":"),
@ -36,6 +51,8 @@ class Processes:
"EXTRA_PATH",
[],
),
"/run/wrappers/bin",
"/run/current-system/sw/bin",
],
),
}