[PATCH] Make udev rules work if installed into a non-std prefix

Kay Sievers kay.sievers at vrfy.org
Thu Jan 26 06:35:08 PST 2012


On Thu, Jan 26, 2012 at 14:48, Yury G. Kudryashov <urkud.urkud at gmail.com> wrote:
> From: "Yury G. Kudryashov" <urkud.urkud at gmail.com>
>
> Prefix all IMPORT{program} strings with @slashlibdir@ to produce absolute paths
> in the output 80-udisks.rules file.

It is built into udev since almost forever that programs in /lib/udev/
do not need an absolute path, they can just be referenced by
IMPORT="foo", and you should be able to just remove the absolute path.

Most of the recent tools use --with-rootprefix= which defaults to
/usr. If rootfs support is needed for tools, it should probably match:
  http://git.kernel.org/?p=linux/hotplug/udev.git;a=blob;f=configure.ac;hb=HEAD#l61

Kay


More information about the devkit-devel mailing list