[oe-commits] [meta-openembedded] 92/94: gpsd: Fix the systemd service run paths

git at git.openembedded.org git at git.openembedded.org
Wed Jul 10 16:36:05 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 09710233145e43e175ef6a63f0c27a967933e890
Author: Alistair Francis <alistair at alistair23.me>
AuthorDate: Wed Jul 10 05:06:37 2019 +0000

    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 at alistair23.me>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-navigation/gpsd/gpsd_3.18.1.bb | 2 ++
 1 file changed, 2 insertions(+)

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 583fde6..32db38e 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 at .service ${D}${systemd_unitdir}/system/${BPN}ctl at .service
+    sed -i -e 's,/usr/local,/usr,g' ${D}${systemd_unitdir}/system/${BPN}ctl at .service
     install -m 0644 ${S}/systemd/${BPN}.socket ${D}${systemd_unitdir}/system/${BPN}.socket
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list