!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
4 Apr 2022
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.dealso fyi: https://github.com/NixOS/nixpkgs/pull/16589210:41:56
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.dewe might want to adapt that10:42:01
@elvishjerricco:matrix.org@elvishjerricco:matrix.orghuh, well that's interesting10:43:08
@arianvp:matrix.orgArianDefinitely11:29:23
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deGood news:15:41:21
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deimage.png
Download image.png
15:41:23
@bobvanderlinden_:matrix.orgbobvanderlindenπŸ˜… the LUKS part is already in my branch. The lvm2 part is still lacking.15:48:02
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de bobvanderlinden: can you send me the branch? 15:52:18
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deI also found some other things that we should probably fix15:52:33
@bobvanderlinden_:matrix.orgbobvanderlindenhttps://github.com/bobvanderlinden/nixpkgs/tree/pr-systemd-initrd-luks-lvm16:07:05
@bobvanderlinden_:matrix.orgbobvanderlindenLuks: https://github.com/bobvanderlinden/nixpkgs/blob/pr-systemd-initrd-luks-lvm/nixos/modules/system/boot/initrd-systemd-luks.nix16:07:47
@bobvanderlinden_:matrix.orgbobvanderlindenUdev and initial work on lvm2 are in the same directory under similar path16:09:11
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deah great, I did it in the current luksroot module which is a bit more messy than your approach16:09:23
@bobvanderlinden_:matrix.orgbobvanderlindenYea we do need to find a nice way to structure the modules with all the different combinations. It would be nice if there was a initrd-systemd directory that can include them all16:11:02
@bobvanderlinden_:matrix.orgbobvanderlindenBut didn't want to conflict with other work πŸ˜…16:11:28
@bobvanderlinden_:matrix.orgbobvanderlindenFor lvm2 I think using the ueventd variant as the package could already be a good step in the right direction.16:13:25
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deThis will probably break your cryptsetup again :/ https://github.com/NixOS/nixpkgs/pull/16716716:20:41
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.debut I think it might be one of the last breakages I create 🀞16:21:16
@bobvanderlinden_:matrix.orgbobvanderlindenHaha I liked that pr. It does make things a bit more insightful from nix code. Though I am still interested in gathering the files using /nix/store references, as that would in theory avoid problems like not including a binary by accident or including too much without it being used. Theory is different from practice though, so it probably needs tweaking nonetheless.16:30:21
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de roberth suggested a second option that deeply traces the closure dependencies with exportReferencesGraph or something like this 16:31:17
@bobvanderlinden_:matrix.orgbobvanderlindenAh that would satisfy my need as well πŸ‘ good solution16:36:17
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deyeah I think doing that by default for all store paths would bloat the initrd too much16:36:43
@arianvp:matrix.orgArian Janne Heß: we can probably pick flokli 's brain about the init=/systemConfig= dillemma 16:40:22
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deπŸ§ β›οΈ16:41:00
@flokli:matrix.orgflokliStop picking my brain16:51:46
@flokli:matrix.orgfloklitenor_gif2894795343590525608.gif
Download tenor_gif2894795343590525608.gif
16:52:15
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deIs this enough context to understand what our discussion is? https://github.com/NixOS/nixpkgs/pull/167168#discussion_r84189443417:15:56
@bobvanderlinden_:matrix.orgbobvanderlindenI focused on the luks changes and updated those to the new changes on master (objects -> contents). It includes udev and luks. Draft PR: https://github.com/NixOS/nixpkgs/pull/16723120:35:09
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @bobvanderlinden_:matrix.org
I focused on the luks changes and updated those to the new changes on master (objects -> contents). It includes udev and luks. Draft PR: https://github.com/NixOS/nixpkgs/pull/167231
would you be okay with me potentially taking your code tomorrow and reworking it into a larger PR?
20:55:29
@bobvanderlinden_:matrix.orgbobvanderlindenyea totally. Not sure if a larger PR will be merged sooner, but it's totally fine to reuse the code/commits.20:56:29

Show newer messages


Back to Room ListRoom Version: 6