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

Load older messages


SenderMessageTime
30 Jul 2022
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de Mic92: do you have more insight on that? 18:55:55
@elvishjerricco:matrix.org@elvishjerricco:matrix.org
In reply to @k900:0upti.me
RIIR patchelf when
If we did that we wouldn't need goblin :P
18:56:46
@k900:0upti.meK900I mean if I were to attempt it, goblin is what I'd build off of18:56:58
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgAnyway, the point stands that we don't need to add deps if we're willing to use patchelf instead of ldd to detect dynamic libs18:58:06
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgbut that comes at the cost of it being... maybe a lil wonky. And we'd lose the justification for using json for the input18:58:26
@k900:0upti.meK900Actually kinda hot take18:58:44
@k900:0upti.meK900We might just want to extract make-initrd-ng into its own repo18:59:02
@k900:0upti.meK900So we could have dependabot and CI and all the other good stuff18:59:12
@k900:0upti.meK900Maybe not right now but in a few months when it's more mature18:59:29
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgThat's not crazy. I mean patchelf is another repo, right?18:59:31
@linus:schreibt.jetzt@linus:schreibt.jetztyeah that take is lukewarm at best :p18:59:46
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgShoot I don't even see a reason not to do it immediately19:00:21
@k900:0upti.meK900 I actually don't think doing it now is a great idea because there will probably be one-liner fixes and having to do the whole release dance is awkard 19:00:28
@linus:schreibt.jetzt@linus:schreibt.jetztidk, having it in nixpkgs has its advantages too19:00:31
@k900:0upti.meK900 * I actually don't think doing it now is a great idea because there will probably be one-liner fixes and having to do the whole release dance is awkawrd 19:00:31
@k900:0upti.meK900 * I actually don't think doing it now is a great idea because there will probably be one-liner fixes and having to do the whole release dance is awkward 19:00:34
@linus:schreibt.jetzt@linus:schreibt.jetztyeah that19:00:36
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgah fair enough19:00:42
@linus:schreibt.jetzt@linus:schreibt.jetztand also running tests is really really easy currently19:00:59
@linus:schreibt.jetzt@linus:schreibt.jetztchange the code, nix-build nixos/tests/...19:01:08
@k900:0upti.meK900That can be fixed if we expose make-initrd-ng as a top level package in nixpkgs19:01:46
@k900:0upti.meK900Then we can overlay that from the make-initrd-ng repo19:01:55
@k900:0upti.meK900And just run the same tests19:02:00
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgyea. And it already is a top level package19:02:13
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgDo we have any NixOS tests for building cross things? Or is cross considered not officially supported?19:08:27
@elvishjerricco:matrix.org@elvishjerricco:matrix.org On an unrelated note, I think networkctl doesn't work if you don't have dbus, which makes messing with networking in initrd kind of annoying... Probably not worth including dbus over, but noteworthy 19:25:40
@k900:0upti.meK900There's something built on Hydra for mobile 19:28:17
@k900:0upti.meK900But I'm not sure how much or if there's any actual VM tests there 19:28:30
31 Jul 2022
@joerg:thalheim.ioMic92
In reply to @janne.hess:helsinki-systems.de
Mic92: do you have more insight on that?
K900: It's reading the whole file into memory.
05:41:17
@joerg:thalheim.ioMic92See this: https://github.com/NixOS/patchelf/blob/master/src/patchelf.cc#L23005:41:34

Show newer messages


Back to Room ListRoom Version: 6