mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Artur Wiebe <artur@4wiebe.de>
To: ptxdist@pengutronix.de
Cc: Artur Wiebe <artur@4wiebe.de>
Subject: [ptxdist] [PATCH] crda: SBINDIR without trailing slash produces incorrect udev rule
Date: Wed, 28 Jun 2017 08:52:55 +0200	[thread overview]
Message-ID: <20170628065255.32303-1-artur@4wiebe.de> (raw)

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

                 reply	other threads:[~2017-06-28  6:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170628065255.32303-1-artur@4wiebe.de \
    --to=artur@4wiebe.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox