summaryrefslogtreecommitdiffstats
path: root/meta-systemd
diff options
context:
space:
mode:
Diffstat (limited to 'meta-systemd')
-rw-r--r--meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd/gpsd.service10
-rw-r--r--meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bbappend20
2 files changed, 0 insertions, 30 deletions
diff --git a/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd/gpsd.service b/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd/gpsd.service
deleted file mode 100644
index 7131a589d..000000000
--- a/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd/gpsd.service
+++ /dev/null
@@ -1,10 +0,0 @@
1[Unit]
2Description=GPS (Global Positioning System) Daemon
3Requires=gpsd.socket
4
5[Service]
6EnvironmentFile=/etc/default/gpsd
7ExecStart=/usr/sbin/gpsd -N $GPS_DEVICES
8
9[Install]
10Also=gpsd.socket
diff --git a/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bbappend b/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bbappend
deleted file mode 100644
index 375e8556f..000000000
--- a/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bbappend
+++ /dev/null
@@ -1,20 +0,0 @@
1PRINC := "${@int(PRINC) + 2}"
2
3inherit systemd
4
5FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
6
7SRC_URI += "file://gpsd.service"
8
9RPROVIDES_${PN} += "${PN}-systemd"
10RREPLACES_${PN} += "${PN}-systemd"
11RCONFLICTS_${PN} += "${PN}-systemd"
12SYSTEMD_SERVICE_${PN} = "${PN}.socket"
13SYSTEMD_OESCONS = "true"
14
15do_install_append() {
16 #support for systemd
17 install -d ${D}${systemd_unitdir}/system/
18 install -m 0644 ${WORKDIR}/${PN}.service ${D}${systemd_unitdir}/system/${PN}.service
19 install -m 0644 ${S}/systemd/${PN}.socket ${D}${systemd_unitdir}/system/${PN}.socket
20}