[source] ugps: fix typo
LEDE Commits
lede-commits at lists.infradead.org
Thu Feb 16 00:55:05 PST 2017
blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/af59d3bda3ce96595f3fc120cf290a650980df55
commit af59d3bda3ce96595f3fc120cf290a650980df55
Author: Cezary Jackiewicz <cezary at eko.one.pl>
AuthorDate: Wed Feb 15 19:06:04 2017 +0100
ugps: fix typo
Removing redundant spaces from the name of the option. Without fix:
root at LEDE:~# opkg install ugps
Installing ugps (2016-10-24-32a6b2b7-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mips_24kc/base/ugps_2016-10-24-32a6b2b7-1_mips_24kc.ipk
Configuring ugps.
uci: Parse error (invalid character in name field) at line 3, byte 23
uci: Parse error (invalid character in name field) at line 3, byte 23
sh: out of range
root at LEDE:~# uci show gps
uci: Parse error (invalid character in name field) at line 3, byte 23
With this fix:
root at LEDE:~# uci show gps
gps. at gps[0]=gps
gps. at gps[0].tty='ttyACM0'
gps. at gps[0].adjust_time='1'
Signed-off-by: Cezary Jackiewicz <cezary at eko.one.pl>
---
package/utils/ugps/Makefile | 2 +-
package/utils/ugps/files/gps.config | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/utils/ugps/Makefile b/package/utils/ugps/Makefile
index 7f6934b..8744300 100644
--- a/package/utils/ugps/Makefile
+++ b/package/utils/ugps/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=ugps
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_URL=$(LEDE_GIT)/project/ugps.git
PKG_SOURCE_PROTO:=git
diff --git a/package/utils/ugps/files/gps.config b/package/utils/ugps/files/gps.config
index eb00d79..d4bd69a 100644
--- a/package/utils/ugps/files/gps.config
+++ b/package/utils/ugps/files/gps.config
@@ -1,3 +1,3 @@
config gps
option 'tty' 'ttyACM0'
- option 'adjust_time ' '1'
+ option 'adjust_time' '1'
More information about the lede-commits
mailing list