diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-13 14:29:26 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-15 16:22:04 +0200 |
commit | e965f6efc0942b08f5ab39a623833ebe8f39115e (patch) | |
tree | 7727c3308f9b5adbca406d591242ac0a974903ee /meta-systemd | |
parent | 87259e3768de680a7cb39fc9e0959a4387fb57f2 (diff) | |
download | meta-openembedded-e965f6efc0942b08f5ab39a623833ebe8f39115e.tar.gz |
gpsd: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
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 | } | ||