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

Malte Starostik lists at malte.homeip.net
Fri Jun 8 15:46:41 PDT 2012


From: Malte Starostik <m-starostik at versanet.de>

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.
With the suggested default --libexecdir=/usr/lib this doesn't show,
but with --libexecdir=/usr, it does.
This patch matches the install location with what the code expects.

Signed-off-by: Malte Starostik <m-starostik at versanet.de>
---
 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index f45fa27..74ef7c2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -69,7 +69,7 @@ systemgeneratordir=$(rootlibexecdir)/system-generators
 systemshutdowndir=$(rootlibexecdir)/system-shutdown
 systemsleepdir=$(rootlibexecdir)/system-sleep
 systemunitdir=$(rootprefix)/lib/systemd/system
-udevlibexecdir=$(rootprefix)/lib/udev
+udevlibexecdir=$(libexecdir)/udev
 udevhomedir = $(libexecdir)/udev
 udevrulesdir = $(libexecdir)/udev/rules.d
 
-- 
1.7.3.4



More information about the systemd-devel mailing list