mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] crda: SBINDIR without trailing slash produces incorrect udev rule
@ 2017-06-28  6:52 Artur Wiebe
  0 siblings, 0 replies; only message in thread
From: Artur Wiebe @ 2017-06-28  6:52 UTC (permalink / raw)
  To: ptxdist; +Cc: Artur Wiebe

in upstream crda Makefile:
	SBINDIR ?= /sbin/
	UDEV_RULE_DIR?=/lib/udev/rules.d/

and the udev rule generator:
	KERNEL=="regulatory*", ACTION=="change", SUBSYSTEM=="platform", RUN+="$(SBINDIR)crda"

Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
 rules/crda.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/crda.make b/rules/crda.make
index e81d1a7da..9e98883ff 100644
--- a/rules/crda.make
+++ b/rules/crda.make
@@ -48,8 +48,8 @@ endif
 CRDA_MAKE_ENV	:= \
 	$(CROSS_ENV) \
 	LIBDIR=/usr/lib \
-	SBINDIR=/usr/sbin \
-	UDEV_RULE_DIR=/usr/lib/udev/rules.d \
+	SBINDIR=/usr/sbin/ \
+	UDEV_RULE_DIR=/usr/lib/udev/rules.d/ \
 	USE_OPENSSL=1
 
 CRDA_MAKE_OPT	:= all_noverify
-- 
2.13.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-28  6:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-28  6:52 [ptxdist] [PATCH] crda: SBINDIR without trailing slash produces incorrect udev rule Artur Wiebe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox