[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH] Create rules.d subdirectory of main udev directory
From: |
spdawson |
Subject: |
[gpsd-dev] [PATCH] Create rules.d subdirectory of main udev directory |
Date: |
Mon, 2 Dec 2013 09:12:17 +0000 |
From: Simon Dawson <address@hidden>
If the rules.d subdirectory of the main udev directory does not exist, then
the udev-install scons target will fail.
We need to create the rules.d subdirectory when we create the main udev
directory.
Signed-off-by: Simon Dawson <address@hidden>
---
diff -Nurp a/SConstruct b/SConstruct
--- a/SConstruct 2013-12-02 08:15:34.830379444 +0000
+++ b/SConstruct 2013-12-02 08:16:43.833525441 +0000
@@ -1788,7 +1788,7 @@ if env['python']:
# is plugged in.
Utility('udev-install', 'install', [
- 'mkdir -p ' + env['udevdir'],
+ 'mkdir -p ' + env['udevdir'] + '/rules.d',
'cp $SRCDIR/gpsd.rules ' + env['udevdir'] + '/rules.d/25-gpsd.rules',
'cp $SRCDIR/gpsd.hotplug ' + env['udevdir'],
'chmod a+x ' + env['udevdir'] + '/gpsd.hotplug',
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-dev] [PATCH] Create rules.d subdirectory of main udev directory,
spdawson <=