[systemd-devel] [PATCH] Match udevlibexecdir with UDEVLIBEXECDIR
Malte Starostik
lists at malte.homeip.net
Sun Jun 10 08:55:56 PDT 2012
Am Sonntag, 10. Juni 2012, 17:32:55 schrieb Kay Sievers:
> On Sat, Jun 9, 2012 at 12:46 AM, Malte Starostik <lists at malte.homeip.net>
wrote:
> > Rules get installed in $(libexecdir)/udev/, so are keymaps. Helper
> > binaries go to $(rootprefix)/lib/udev though. Problem is, in the code,
> > both are referenced via UDEVLIBEXECDIR which is defined to the former
> > location. Result: systemd-udev can't find e.g. the keymap binary to
> > apply keymaps.
>
> --libexecdir is what the original udev build-sys used. Systemd has
> $prefix/lib/systemd hard-coded, I changed udev to do the same.
> --libexecdir= is ignored now for udev, the same way it was ignored for
> systemd itself.
Guess I'm fine with that, just didn't know as it was apparently half-way
supported, as rules.d/, keymaps/ etc. honoured --libexecdir
> > With the suggested default --libexecdir=/usr/lib this doesn't show,
> > but with --libexecdir=/usr, it does.
>
> What's the point of using --libexecdir=/usr? What's the use case?
Gentoo used --libexecdir=/lib for udev, so in the process of getting ebuilds
for 185 working nicely, I adopted that dir as it seemed to be supported at
first. There might be - or from what I recall actually are (lvm2) - packages
that use /lib/udev/rules.d/ as well, so that needs some more investigation if
systemd-udev can't be made to install there. OTOH note that apart from a
possibly smoother migration path, I'm very much im favour of moving things to
/usr
Regards,
Malte
More information about the systemd-devel
mailing list