[WIP]: initialRamdisk: Use systemd for initrd's /init#74842
[WIP]: initialRamdisk: Use systemd for initrd's /init#74842ElvishJerricco wants to merge 1 commit intoNixOS:masterfrom
Conversation
|
Very nice! Tackling this is on my todo list for quite some time, I'm happy to see this happening now :-) As far as lvm and cryptsetup foo is concerned, I just polished #66856. |
|
Thank you for your contributions.
|
|
This is still very much appreciated, but blocked by other systemd PRs. Stalebot, you're wrong! |
|
Is this blocked anymore @flokli? |
The BGRT theme is probably a close as to "FlickerFree" we can get without NixOS#74842. It's more agnostic than the Breeze theme. We also install all of themes provided by the packages, as it's possible that one theme needs the ImageDir of another, and they're small files anyways. Lastly, how plymouth handles logo and header files is a total mess, so hopefully when they have an actual release we won't need to do all this symlinking.
|
I started looking at
The problem here is that we'd need to confiure something like this: … but the unit file we want to override is created inside the systemd generator. Currently, the We can't distinguish between this just being an incomplete unit file configuration vs. an override. @adrianparvino, thoughts? |
|
I marked this as stale due to inactivity. → More info |
|
@flokli are you still developing this or @ElvishJerricco 's pr takes precedence? |
| find $out/bin -type f | while read i; do | ||
| find $out/bin $out/lib -type f | while read i; do | ||
| case $i in | ||
| $out/lib/ld*.so.?) continue;; |
There was a problem hiding this comment.
A default that nothing should happen would be a good idea.
I'm not actively working on this right now. |
This would probably be a question for @ElvishJerricco, the author of both PRs. They share a lot of description at least… |
|
@ElvishJerricco showld we close this? #120015 seems to be more recently updated. |
Motivation for this change
NOTE: This is a WIP. I'm opening this PR now mostly for feedback on the concept.
Things done
/initto thesystemdbinary.systemctl switch-rootinstead ofswitch_root.sandboxinnix.confon non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"./result/bin/)nix path-info -Sbefore and after)