diff options
Diffstat (limited to 'meta-systemd')
-rw-r--r-- | meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd/gpsd.service | 10 | ||||
-rw-r--r-- | meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bbappend | 20 |
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] | ||
2 | Description=GPS (Global Positioning System) Daemon | ||
3 | Requires=gpsd.socket | ||
4 | |||
5 | [Service] | ||
6 | EnvironmentFile=/etc/default/gpsd | ||
7 | ExecStart=/usr/sbin/gpsd -N $GPS_DEVICES | ||
8 | |||
9 | [Install] | ||
10 | Also=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 @@ | |||
1 | PRINC := "${@int(PRINC) + 2}" | ||
2 | |||
3 | inherit systemd | ||
4 | |||
5 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
6 | |||
7 | SRC_URI += "file://gpsd.service" | ||
8 | |||
9 | RPROVIDES_${PN} += "${PN}-systemd" | ||
10 | RREPLACES_${PN} += "${PN}-systemd" | ||
11 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
12 | SYSTEMD_SERVICE_${PN} = "${PN}.socket" | ||
13 | SYSTEMD_OESCONS = "true" | ||
14 | |||
15 | do_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 | } | ||