!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

83 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.deI have enough mergers here 😏20:56:51
@bobvanderlinden_:matrix.orgbobvanderlindenhaha nice :D awesome to see the collaboration here!20:57:11
@bobvanderlinden_:matrix.orgbobvanderlinden I'm cleaning up the previous changes from make-initrd-ng, but now that there are more 'flags' for the contents file entries I think it might be better to just use a proper stdin input format (JSON?) and output a cpio file directly from the make-initrd-ng executable while we're at it (instead of piping paths from make-initrd-ng to cpio). 20:59:51
@bobvanderlinden_:matrix.orgbobvanderlindenCurrently stdin expects 2 lines per file entry (1 for symlink, 1 for object). With exportReferencesGraph it would need 3 lines per file entry. It becomes a bit messy.21:01:33
@bobvanderlinden_:matrix.orgbobvanderlindenNot sure of JSON is the right way to go, but something more structured made sense21:01:57
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deI think something as simple as a csv would be good enough. Although nix can easily serialize JSON so JSON is probably cleaner in the end21:03:37
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deohh but this has the downside that we now need cargo dependencies (for serde) which we didn't need before21:03:58
@bobvanderlinden_:matrix.orgbobvanderlindenindeed, same if we are using a cpio library (or libarchive binding?)21:04:39
@bobvanderlinden_:matrix.orgbobvanderlindennot that much of a problem right?21:05:13
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deif we get it into the package properly without causing IFD, it should be fine21:05:36
@bobvanderlinden_:matrix.orgbobvanderlindenMy solution still required proot to do nasty path rewrites to satisfy cpio: https://github.com/bobvanderlinden/nixpkgs/blob/c0f04240f5ed024c1d2dcf3a7b62eb346132f4ad/pkgs/build-support/kernel/make-initrd-ng.nix#L84-L87 That's why I'm contemplating just doing everything. The code of the /nix/store/ lookup and stdout path output can be found here: https://github.com/bobvanderlinden/nixpkgs/blob/c0f04240f5ed024c1d2dcf3a7b62eb346132f4ad/pkgs/build-support/kernel/make-initrd-ng/src/main.rs I can make an PR, but I'd rather do it properly and invest some time if no-one else is going to work on it. Kindof liked having a small Rust project to work on πŸ˜…21:11:10
@bobvanderlinden_:matrix.orgbobvanderlinden * My solution still required proot to do nasty path rewrites to satisfy cpio: https://github.com/bobvanderlinden/nixpkgs/blob/c0f04240f5ed024c1d2dcf3a7b62eb346132f4ad/pkgs/build-support/kernel/make-initrd-ng.nix#L84-L87 That's why I'm contemplating just doing everything in Rust. The code of the /nix/store/ lookup and stdout path output can be found here: https://github.com/bobvanderlinden/nixpkgs/blob/c0f04240f5ed024c1d2dcf3a7b62eb346132f4ad/pkgs/build-support/kernel/make-initrd-ng/src/main.rs I can make an PR, but I'd rather do it properly and invest some time if no-one else is going to work on it. Kindof liked having a small Rust project to work on πŸ˜…21:11:42
@bobvanderlinden_:matrix.orgbobvanderlindenanyway, bedtime here. Looking forward to any (larger) PR! :D The progress here is quite exciting21:12:33
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @bobvanderlinden_:matrix.org
My solution still required proot to do nasty path rewrites to satisfy cpio: https://github.com/bobvanderlinden/nixpkgs/blob/c0f04240f5ed024c1d2dcf3a7b62eb346132f4ad/pkgs/build-support/kernel/make-initrd-ng.nix#L84-L87
That's why I'm contemplating just doing everything in Rust.
The code of the /nix/store/ lookup and stdout path output can be found here:
https://github.com/bobvanderlinden/nixpkgs/blob/c0f04240f5ed024c1d2dcf3a7b62eb346132f4ad/pkgs/build-support/kernel/make-initrd-ng/src/main.rs
I can make an PR, but I'd rather do it properly and invest some time if no-one else is going to work on it. Kindof liked having a small Rust project to work on πŸ˜…
I'm not going to work on it ;)
21:15:42
5 Apr 2022
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/commit/5844b1c2fa38d4392063ccea9c75b13f28652b8200:36:23
@hexa:lossy.network@hexa:lossy.networksomeone here broke eval on staging-next00:36:27
@hexa:lossy.network@hexa:lossy.network Janne Heß: ^ 00:36:35
@hexa:lossy.network@hexa:lossy.network

anonymous function at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-6/pkgs/os-specific/linux/systemd/default.nix:3:1 called with unexpected argument 'lvm2', at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-6/lib/customisation.nix:69:16

00:36:57
@hexa:lossy.network@hexa:lossy.network * someone here broke eval on staging-next πŸ™‚00:38:52
@hexa:lossy.network@hexa:lossy.network * someone here probably broke eval on staging-next πŸ™‚00:38:59
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @hexa:lossy.network

anonymous function at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-6/pkgs/os-specific/linux/systemd/default.nix:3:1 called with unexpected argument 'lvm2', at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-6/lib/customisation.nix:69:16

Yay, someone's going to fix this soon as well
06:29:40
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de Also it's my first staging-next breakage πŸ’ͺ 06:29:52
@bobvanderlinden_:matrix.orgbobvanderlindenLvm2 wasn't a dependency of systemd and now it is?07:04:48
@bobvanderlinden_:matrix.orgbobvanderlindenMight explain the system-generator that has gone missing in the recent lvm version07:05:38
@andreas.schraegle:helsinki-systems.de@andreas.schraegle:helsinki-systems.de
In reply to @bobvanderlinden_:matrix.org
Might explain the system-generator that has gone missing in the recent lvm version
Didn't I send the link to the commit that removed that from lvm, the other day?
I thought those two things are unrelated. Didn't systemd depend on lvm already?
08:00:57
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @bobvanderlinden_:matrix.org
Lvm2 wasn't a dependency of systemd and now it is?
it was optional before
08:06:44
@hexa:lossy.network@hexa:lossy.network
In reply to @janne.hess:helsinki-systems.de
Also it's my first staging-next breakage πŸ’ͺ
very cool!
10:29:52
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de bobvanderlinden: have you seen the case where you were able to type your password but it would forever hang on decryption? 10:54:34
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.denot logging anything?10:54:38
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deUpdate of the day: I now have a disk mounted that is on LVM that is on LUKS15:26:39

There are no newer messages yet.


Back to Room ListRoom Version: 6