diff options
author | Martin Kelly <mkelly@xevo.com> | 2017-11-15 13:21:36 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-11-19 13:41:58 -0800 |
commit | 194f855b44319c7834ba11e6e0a77ef279970a04 (patch) | |
tree | 5e4529b57523f6f378e7663a2d163144ddb18776 /meta-oe/recipes-navigation/gpsd | |
parent | 5c79363f3f48575500de8e514f1f36be7c8ef494 (diff) | |
download | meta-openembedded-194f855b44319c7834ba11e6e0a77ef279970a04.tar.gz |
gpsd: fix /etc/default/gpsd ALTERNATIVES logic
The ALTERNATIVES logic for the /etc/default/gpsd file is broken,
specifying ALTERNATIVE_LINK without brackets. In addition, it refers to
ALTERNATIVE_PATH, which update-alternatives.bbclass doesn't use.
With this patch, /etc/default/gpsd correctly gets a default link
pointing to /etc/default/gpsd.default. Currently, no such link gets
created, and gpsd starts off disabled by default since it's missing this
config file.
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation/gpsd')
-rw-r--r-- | meta-oe/recipes-navigation/gpsd/gpsd_3.16.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.16.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.16.bb index e23d63033..26d74867b 100644 --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.16.bb +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.16.bb | |||
@@ -136,6 +136,5 @@ SYSTEMD_SERVICE_${PN} = "${PN}.socket" | |||
136 | 136 | ||
137 | 137 | ||
138 | ALTERNATIVE_${PN} = "gpsd-defaults" | 138 | ALTERNATIVE_${PN} = "gpsd-defaults" |
139 | ALTERNATIVE_PATH = "${sysconfdir}/default/gpsd.default" | 139 | ALTERNATIVE_LINK_NAME[gpsd-defaults] = "${sysconfdir}/default/gpsd" |
140 | ALTERNATIVE_LINK = "${sysconfdir}/default/gpsd" | 140 | ALTERNATIVE_TARGET[gpsd-defaults] = "${sysconfdir}/default/gpsd.default" |
141 | ALTERNATIVE_TARGET = "${sysconfdir}/default/gpsd.default" | ||