-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP]: initialRamdisk: Use systemd for initrd's /init #74842
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
/init
to thesystemd
binary.systemctl switch-root
instead ofswitch_root
.sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)