!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
@lily:lily.flowers@lily:lily.flowers
In reply to @elvishjerricco:matrix.org
The divergence is entirely within fstab-generator.c IIRC
I did mean invasive just within that file, but it is admittedly pretty simple compared to the entirety of systemd. I just couldn't imagine refactoring anything in systemd myself, but I have much too low confidence to make significant changes to something so critical
23:48:22
@elvishjerricco:matrix.org@elvishjerricco:matrix.org I'm basically talking about making the cmdline stuff use literally the existing code path as the fstab stuff, but then move the cmdline specific stuff into if (ininitrd() && path_equals(p, "/sysroot")) 23:48:32
@lily:lily.flowers@lily:lily.flowers
In reply to @elvishjerricco:matrix.org
The divergence is entirely within fstab-generator.c IIRC
* I did mean invasive just within that file, but it is admittedly pretty simple compared to the entirety of systemd. I just couldn't imagine refactoring anything in systemd myself, since I have much too low confidence to make significant changes to something so critical
23:48:37
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgshould be pretty easy really23:48:58
@lily:lily.flowers@lily:lily.flowers
In reply to @elvishjerricco:matrix.org
I'm basically talking about making the cmdline stuff use literally the existing code path as the fstab stuff, but then move the cmdline specific stuff into if (ininitrd() && path_equals(p, "/sysroot"))
Oh you know, that would actually kinda work wouldn't it. And not be horrible to do
23:49:06
@lily:lily.flowers@lily:lily.flowers
In reply to @lily:lily.flowers
I did mean invasive just within that file, but it is admittedly pretty simple compared to the entirety of systemd. I just couldn't imagine refactoring anything in systemd myself, since I have much too low confidence to make significant changes to something so critical
(I was scared to even adjust the test runner to support fstab tests in https://github.com/systemd/systemd/pull/26038)
23:50:05
@lily:lily.flowers@lily:lily.flowers
In reply to @elvishjerricco:matrix.org
I'm basically talking about making the cmdline stuff use literally the existing code path as the fstab stuff, but then move the cmdline specific stuff into if (ininitrd() && path_equals(p, "/sysroot"))
* Oh you know, that would actually kinda work, wouldn't it. And not be horrible to do
23:50:36
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgDoes systemd even have testing for initrd stuff? I actually don't know lol23:51:07

Show newer messages


Back to Room ListRoom Version: 6