we have to add our own rules file, which contains only one rules
so far, because udev 174 comes without a rule for mounting the
fusectl system.
See http://tinyurl.com/3uabdln
Adding the rule to the fuse port isn't a senseful option, because
udev still has one rule for fuse.
Well, I bet we have to do similar things more often in the future,
because udev is going to be systemd centric.
As of version 169 the configure-switch --disable-extras has been
replaced by a more fine-grained set of options to enable/disable
how udev should be build.
For now we use a set of options that builds udev mostly the same
as with older versions, so we do not add new dependencies at the
moment:
--disable-gudev depends on glib
--disable-udev_acl depends on glib
--disable-keymap depends at build-time on opt/gperf
The only new (soft) dependencies are to {pci,usb}utils.
(to be omitted with --disable-hwdb)
Don't override exec_prefix= and use --with-rootlibdir to copy
runtime libs to /lib while keeping most of the stuff in /usr.
With this change, we don't have to override pkgconfig, or manually
setup .so symlink. It's also friendlier towards builds with
enable-extras (which would require more additional fixes).
Enable build of static library, which will enable us to add explicit
udev support to static builds of dm/lvm.
Adjust start_udev:
- remount /dev if it's already mounted (due to initramfs or
CONFIG_DEVTMPFS_MOUNT), which allows us to set mount options
- add inodes limit safeguard
- verify udevd is not running before starting it
- remove 'settle' between subsystems/devices
Signed-off-by: Michal Soltys <soltys@ziu.info>
This reverts commit 0be5b8f22301d1caab2e4b39b3757b8d75065a3b.
There's a problem with the firmware path not being defined correctly,
likely due to a bug in configure.ac.