aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation
diff options
context:
space:
mode:
authorAlistair Francis <alistair@alistair23.me>2019-07-10 05:06:37 +0000
committerKhem Raj <raj.khem@gmail.com>2019-07-10 09:34:20 -0700
commit09710233145e43e175ef6a63f0c27a967933e890 (patch)
tree49c7adff876ae54db4cf475e8d40ea00893e784b /meta-oe/recipes-navigation
parentb7e217452036e232763a2d1922b6e7abffa19a01 (diff)
downloadmeta-openembedded-contrib-09710233145e43e175ef6a63f0c27a967933e890.tar.gz
meta-openembedded-contrib-09710233145e43e175ef6a63f0c27a967933e890.tar.bz2
meta-openembedded-contrib-09710233145e43e175ef6a63f0c27a967933e890.zip
gpsd: Fix the systemd service run paths
Make sure that we call gpsd from /usr instead of /usr/local. Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-navigation')
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd_3.18.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.18.1.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.18.1.bb
index 583fde6cad..32db38edcf 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.18.1.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.18.1.bb
@@ -83,7 +83,9 @@ do_install_append() {
#support for systemd
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${S}/systemd/${BPN}.service ${D}${systemd_unitdir}/system/${BPN}.service
+ sed -i -e 's,/usr/local,/usr,g' ${D}${systemd_unitdir}/system/${BPN}.service
install -m 0644 ${S}/systemd/${BPN}ctl@.service ${D}${systemd_unitdir}/system/${BPN}ctl@.service
+ sed -i -e 's,/usr/local,/usr,g' ${D}${systemd_unitdir}/system/${BPN}ctl@.service
install -m 0644 ${S}/systemd/${BPN}.socket ${D}${systemd_unitdir}/system/${BPN}.socket
}