!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
20 Mar 2022
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgSooo... I'm going to do another little review an then open a PR!06:57:07
@elvishjerricco:matrix.org@elvishjerricco:matrix.orghttps://github.com/NixOS/nixpkgs/pull/164943 woot08:06:10
@arianvp:matrix.org@arianvp:matrix.orgWill try it out right away!08:08:58
@arianvp:matrix.org@arianvp:matrix.org I wanted to say we probably need https://github.com/NixOS/nixpkgs/pull/121371 for the correct ordering of kmod-static-nodes and systemd-tmpfiles-setup-dev but it seems flokli merged it already! :D 08:12:08
@arianvp:matrix.org@arianvp:matrix.orgso you probably have those fixed already :P08:12:14
@arianvp:matrix.org@arianvp:matrix.orgyay about forgetting about PRs and other people picking them up08:13:31
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Arian: Beware it's extremely minimal (on purpose), so it's only going to boot extremely simple things 08:14:20
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgBut at least it has a good rescue shell when it fails :P08:14:34
@arianvp:matrix.org@arianvp:matrix.orgthat's fine. I have a "play with initrd" machine :P08:14:47
@arianvp:matrix.org@arianvp:matrix.orgAnother future work could be: Unified kernel images for the SecureBoot integration 08:15:52
@arianvp:matrix.org@arianvp:matrix.org Adds to my own list 08:15:56
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgBit out of scope I think :P08:17:00
@arianvp:matrix.org@arianvp:matrix.orgyes =)08:17:04
@arianvp:matrix.org@arianvp:matrix.orgfollow-up. :P08:17:13
@arianvp:matrix.org@arianvp:matrix.orgAnother follow-up I'd want to do is evangelize https://systemd.io/DISCOVERABLE_PARTITIONS/ . I guess that could be part of adding repart support (as it uses it by default)08:17:38
@arianvp:matrix.org@arianvp:matrix.orgit makes systemd initrd automatically discover LUKS partitions etc without cmdline or /etc/fstab hints08:17:58
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgYea I'm iffy on that. The systemd people seem to really like it, but it seems antithetical to NixOS's "declarative everything" approach08:18:26
@arianvp:matrix.org@arianvp:matrix.orgyeh true08:18:40
@arianvp:matrix.org@arianvp:matrix.orgmy only gripe is whether having rust in the bootstrap path is a good idea...08:22:09
@arianvp:matrix.org@arianvp:matrix.org But given we were eager to add it to nix as well I think that ship has sailed. And rust bootstrapping is in sorta-ok shape 08:22:35
@arianvp:matrix.org@arianvp:matrix.org(I think Guix people figured out bootstrapability of rust)08:22:51
@arianvp:matrix.org@arianvp:matrix.orgYeh actually not gripe at all. Go Rust08:23:14
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Arian: Rust has been in the bootstrap path for quite a while now because it's needed for spidermonkey which is needed for... polkit(?) or something 08:25:16
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgBut given we should be caching this tool, users should never end up downloading a rust tool chain to build their systems08:25:51
@arianvp:matrix.org@arianvp:matrix.orgoh yeh polkit... great =)08:26:44
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @arianvp:matrix.org
But given we were eager to add it to nix as well I think that ship has sailed. And rust bootstrapping is in sorta-ok shape
It got removed iirc and is now only used for the docs
09:44:35
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @elvishjerricco:matrix.org
Arian: Rust has been in the bootstrap path for quite a while now because it's needed for spidermonkey which is needed for... polkit(?) or something
Andy is in the process of replacing that for duktape though
09:44:58
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de(not saying I don't like the language but I don't think it's part of bootstrap rn) 09:49:17
@ius:nltrix.netius
In reply to @arianvp:matrix.org
oh yeh polkit... great =)
Note that polkit master includes support for duktape instead of spidermonkey, which is a reasonably small C++ JS implementation. That's how I avoid having to build llvm/spidermonkey on (terribly slow) RISC-V
10:45:42
@ius:nltrix.netius oh doh, that's what Janne Heß mentioned as well 10:48:08

Show newer messages


Back to Room ListRoom Version: 6