!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
23 Feb 2023
@lily:lily.flowers@lily:lily.flowersFound it. It's in the qemu thing17:58:17
@lily:lily.flowers@lily:lily.flowersHold on17:58:18
@lily:lily.flowers@lily:lily.flowersHere: https://github.com/NixOS/nixpkgs/blob/7ce8e7c4cf90492a631e96bcfe70724104914381/nixos/modules/virtualisation/qemu-vm.nix#L89517:59:06
@lily:lily.flowers@lily:lily.flowersAnd also here: https://github.com/NixOS/nixpkgs/blob/7ce8e7c4cf90492a631e96bcfe70724104914381/nixos/modules/virtualisation/qemu-vm.nix#L109817:59:12
@lily:lily.flowers@lily:lily.flowersNo wonder I hadn't noticed it before until mucking in the initrd in a VM17:59:21
@lily:lily.flowers@lily:lily.flowers They're missing a -m before the 0755 17:59:34
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgOof. I guess I did a blind copy-paste when I wrote that service :/18:00:25
@lily:lily.flowers@lily:lily.flowersNo worries, I'll make a PR in a bit18:00:37
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgmy bad18:00:43
@lily:lily.flowers@lily:lily.flowers Honestly maybe the -m 0755 can just be removed if it's clearly not needed.... 18:00:51
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthanks18:00:51
@elvishjerricco:matrix.org@elvishjerricco:matrix.orglol fair point18:01:02
@lily:lily.flowers@lily:lily.flowers Question: Can we make this ln -sf so that I can override built in bins (I really want bashInteractive in my initrd so I have tab completion while mucking around debugging plymouth...): https://github.com/NixOS/nixpkgs/blob/ac573e5046f1e2ff60e4260771a88b9862fa7148/nixos/modules/system/boot/systemd/initrd.nix#L121 18:14:39
@lily:lily.flowers@lily:lily.flowers * Question: Can we make this ln -sf so that I can override built-in bins (I really want bashInteractive in my initrd so I have tab completion while mucking around debugging plymouth...): https://github.com/NixOS/nixpkgs/blob/ac573e5046f1e2ff60e4260771a88b9862fa7148/nixos/modules/system/boot/systemd/initrd.nix#L121 18:14:47
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgThat sounds like a good idea18:15:26
@elvishjerricco:matrix.org@elvishjerricco:matrix.org I would expect extraBin to override whatever is there normally 18:15:38
@lily:lily.flowers@lily:lily.flowersSweet, I'll prep 2 PRs then18:15:41
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgtab completion in initrd is something I've been sorely wanting :P18:16:38
@lily:lily.flowers@lily:lily.flowers
In reply to @elvishjerricco:matrix.org
tab completion in initrd is something I've been sorely wanting :P
Do you want a switch to enable it too?
18:16:56
@lily:lily.flowers@lily:lily.flowers(I kinda wanted that too...)18:17:15
@elvishjerricco:matrix.org@elvishjerricco:matrix.org I doubt that's necessary. After all, it should be just one line either way. enableInteractive vs extraBin.bash 18:17:44
@lily:lily.flowers@lily:lily.flowersFair18:17:54
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgunless there's more to getting tab completion18:17:58
@lily:lily.flowers@lily:lily.flowersThere is not, I can confirm18:24:45
@lily:lily.flowers@lily:lily.flowers Just boot.initrd.systemd.extraBin = { sh = "${pkgs.bashInteractive}/bin/sh"; }; 18:25:04
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgnice18:25:12
28 Feb 2023
@lily:lily.flowers@lily:lily.flowers
In reply to @kranzes:matrix.org
https://github.com/NixOS/nixpkgs/pull/217728
Okay, it took me a while to get back to it, but I got plymouth working. You removed the stuff that was fixing up the compiled-in runtime dirs when converting to Meson so it really just required one quick thing for that and I removed a few other unnecessary things. I'll make a proper review in a bit for you with the fixes
23:56:06
1 Mar 2023
@kranzes:matrix.org@kranzes:matrix.orgGreat 00:11:53
@kranzes:matrix.org@kranzes:matrix.orgAre the unnecessary things other meson flags?00:12:19
@kranzes:matrix.org@kranzes:matrix.orgI thought it'd be better to enable everything like it was before 00:12:42

Show newer messages


Back to Room ListRoom Version: 6