Closed nolange closed 1 year ago
I can't include this in eudev itself since it must conform to the standards set by systemd. We could create a contrib directory with extras.
I am not sure how this would look like. Would you accept just the changes with the renamed main functions (udevd.c, udevadm.c, macro.h)?
i'm sorry, no i can't. i have to keep the separation clean.
@nolange check out busybox applets: uevent & mdev
example configuration, you may only need a portion to get what you want done https://gitlab.com/cameronnemo/upstart-jobs/tree/master/dev/nldev/mdev
@nolange check out busybox applets: uevent & mdev
I found out about uevent after deciding to use eudev, the goal posts roughly are to support existing kernel cmdlines use Predictable Network Interface Names
, be consistent with whatever init system + hotplug manager is running in rootfs (sysv / systemd and mdev / udev). And be modular by using a kernel-builtin initramfs while allowing hooks to be added by external initramfs.
I had problems with mdev, supposedly would take me longer to fix up stuff with mdev.
example configuration, you may only need a portion to get what you want done https://gitlab.com/cameronnemo/upstart-jobs/tree/master/dev/nldev/mdev
Thanks, gonna have a look.
Looks like this is needed. I'll have a look over the weekend.
@nolange Lots of time passed, hope you are well and still around.
Are you interested in converting this to a PR?
I will help with autotools
and other obscure stuff
@nolange Lots of time passed, hope you are well and still around.
Still in this plane of existence, but I considered this closed a long time ago.
Not using eudev for almost aslong, so i am sorry but I wont spend time on this.
Thanks for the feedback!
Hello,
I am currently trying to build a small initramfs with busybox + eudev, binaries are built static. udevd and udevadm contain mosty the same code, so building a single executable nearly halves the required space.
I added a patch, which is good enough for me for building this binary and should outline the idea, but I dont know autotools good enough to know how to add this as an option (or whether you would accept this feature at all).