!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/5125 Servers

Load older messages


SenderMessageTime
3 Apr 2022
* @colemickens:matrix.orgcolemickens 👀 for a luks pr to test23:18:11
4 Apr 2022
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de ElvishJerricco or bobvanderlinden: didn't one of you try to build the image without calling cpio? Is that still an ongoing effort? 09:25:44
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Janne Heß: How would you make the archive without cpio? Maybe you're thinking of what bobvanderlinden did to avoid copying all the files to a temporary location before writing out with cpio? 09:27:21
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgThat's something I'd consider valuable but never bothered to add to the PR09:27:40
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deI thought you were planning to use some tool that fell out of the kernel source tree… 🤔09:27:48
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI do not know of such a tool09:28:12
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.demaybe I am just mistaken between the hundreds of messages here :D09:28:23
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Janne Heß: Maybe it was this? https://github.com/NixOS/nixpkgs/pull/120015#issuecomment-1066027673 09:55:32
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deah probably, yes09:57:42
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.debut we worked around the issue by using the rust tool?09:57:51
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Janne Heß: Don't think so. The rust tool still copies stuff around. 10:21:16
@elvishjerricco:matrix.org@elvishjerricco:matrix.org bobvanderlindenmade a commit a while ago that avoided the copying 10:22:40
@bobvanderlinden_:matrix.orgbobvanderlindenIndeed. It was in a fork of your old branch. Outputs paths on stdout and pipes that to cpio. It also included looking for other /nix/store paths in non-elf files, but that part was considered unneeded and may be dropped. I can take a look creating a PR for the change tonight (20.00 cest).10:35:05
@elvishjerricco:matrix.org@elvishjerricco:matrix.org bobvanderlinden: Yea I'd very much like a PR for the part that avoids copying, but the part that searches for other /nix/store paths was probably a problem for a different PR 10:37:44
@bobvanderlinden_:matrix.orgbobvanderlindenAgreed 👍 different discussion10:38:23
@bobvanderlinden_:matrix.orgbobvanderlindenIt did still use cpio though. Might be cool to implement a basic cpio output in the rust tool as well, but that's also something for later I guess10:39:35
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI have no problem with using cpio. Avoiding the copying is valuable because it produces less wear and tear on the underlying storage10:41:05
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI know it's minimal, but for stuff like Hydra builders that will make a bazillion of these per day, it can make a difference10:41:44
@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.org@arianvp:matrix.orgDefinitely11: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

Show newer messages


Back to Room ListRoom Version: 6