[oe-commits] Martin Jansa : gpsd: fix udev rules file

git at git.openembedded.org git at git.openembedded.org
Wed Mar 6 05:04:43 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: 230e2171d07815f51d5b6d044627afa0ff13c5d4
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=230e2171d07815f51d5b6d044627afa0ff13c5d4

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Fri Mar  1 15:50:15 2013 +0000

gpsd: fix udev rules file

systemd-udevd[41]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/60-gpsd.rules:43
systemd-udevd[41]: invalid rule '/etc/udev/rules.d/60-gpsd.rules:43'

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-navigation/gpsd/gpsd/60-gpsd.rules |    2 +-
 meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-navigation/gpsd/gpsd/60-gpsd.rules b/meta-oe/recipes-navigation/gpsd/gpsd/60-gpsd.rules
index c01db06..61143b8 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd/60-gpsd.rules
+++ b/meta-oe/recipes-navigation/gpsd/gpsd/60-gpsd.rules
@@ -40,7 +40,7 @@ ATTR{idVendor}=="1546", ATTR{idProduct}=="01a5", SYMLINK="gps%n", RUN+="/lib/ude
 # FTDI FT232
 ATTR{idVendor}=="0403", ATTR{idProduct}=="6001", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
 # u-blox 4
-SYSFS{idVendor}=="1546", SYSFS{idProduct}=="01a4", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
+ATTR{idVendor}=="1546", ATTR{idProduct}=="01a4", SYMLINK="gps%n", RUN+="/lib/udev/gpsd.hotplug.wrapper"
 
 ACTION=="remove", RUN+="/lib/udev/gpsd.hotplug.wrapper"
 
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
index 105dbf6..e98d795 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
@@ -7,7 +7,7 @@ PROVIDES = "virtual/gpsd"
 
 EXTRANATIVEPATH += "chrpath-native"
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \
   file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \





More information about the Openembedded-commits mailing list