!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

80 Members
systemd in NixOs's stage 1, replacing the current bash tooling https://github.com/NixOS/nixpkgs/projects/5125 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
28 Jan 2023
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Hm, this is actually going to be kind of hard to write a nixos test for, because we probably can't realistically know the resume_offset= value at eval time 21:24:46
@lily:lily.flowers@lily:lily.flowers
In reply to @elvishjerricco:matrix.org
Hm, this is actually going to be kind of hard to write a nixos test for, because we probably can't realistically know the resume_offset= value at eval time
Could you make it so the initrd put the value in /sys/power/resume_offset before systemd does the resume handling? That way it's not on kernel cmdline and so not needed at eval time but you'd have to generate the initrd from within the VM then. Unless someone knows a clever trick to make it easier
22:19:36
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgIt'd have to be a little different than that22:20:47
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbecause the file system containing the swap file isn't actually mounted22:20:59

Show newer messages


Back to Room ListRoom Version: 6