Jack Frost
Jack Frost
Look at my PKGBUILD. As far as I see, only one link needs to be added: ``` # Missing solink ln -s /lib/libudev.so.1 "$pkgdir/usr/lib/libudev.so" ``` This results in: ``` /usr/lib/libudev.so...
libudev-compat installs a libudev.so.1.5.2 symlink and everything seems to work on this end.
@Obarun what your hook does is basically load the modules that are needed to mount the rootfs on your system. With modprobe. From a hardcoded list of modules. You can...
> so i don't need now the early_hook Yep, it works after autodetect. Now I feel stupid. > if a new version of libudev.so appears (for example libudev.so.1.7) vdev works...
So. I've tested with the whole hook being: ``` run_hook() { /usr/bin/vdevd -c /etc/vdev/vdevd.conf -l /run/vdevd.hook.log -1 -v2 /dev } ``` And it works perfectly, as long as it's after...
So. I've cleaned up the install hook a bit (and went on a bit of a lazy path there for some stuff): https://pkg.fleshless.org/vdev-git/tree/ You don't need to add all the...
Hmmm. Update: on one of my systems, it's actually required to run vdevd twice in the initramfs for it to load all the modules properly. I've tried to figure out...
Actually, if I just start vdevd without --once, it works fine. --once does something wrong, it seems. ~~Or, if you're not supposed to use --once like thet, then how do...
> The --once option will cause vdevd to exit once it finishes processing all device events generated by walking /sys/devices. I think what you're seeing is that loading a module...
Maybe detect a devtmpfs and switch to an “always run if exists” mode? Or! Or, even better, just have a switch that makes all the handlers behave as if “if_exists=run”...