[systemd-devel] [PATCH] Match udevlibexecdir with UDEVLIBEXECDIR

Kay Sievers kay at vrfy.org
Sun Jun 10 08:32:55 PDT 2012


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.

> 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?

Kay


More information about the systemd-devel mailing list