diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2012-02-16 02:03:13 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-02-23 16:46:32 +0100 |
commit | 62dd0bf7ebbb01d1e592e048db78e0bb96502cc4 (patch) | |
tree | cbebd439a0f22d460de17b464a20b10a92f18243 /meta-oe/recipes-navigation | |
parent | 55745d1aecea580fc4a7d178f8fdb425eacead4d (diff) | |
download | meta-openembedded-62dd0bf7ebbb01d1e592e048db78e0bb96502cc4.tar.gz |
gpsd: remove unneeded systemd code
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-navigation')
-rw-r--r-- | meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb b/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb index ce2ab0238..927107a84 100644 --- a/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb +++ b/meta-oe/recipes-navigation/gpsd/gpsd_2.96.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d217a23f408e91c94359447735bc1800" | |||
5 | DEPENDS = "dbus-glib ncurses python libusb1" | 5 | DEPENDS = "dbus-glib ncurses python libusb1" |
6 | PROVIDES = "virtual/gpsd" | 6 | PROVIDES = "virtual/gpsd" |
7 | 7 | ||
8 | PR = "r1" | 8 | PR = "r2" |
9 | 9 | ||
10 | EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \ | 10 | EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \ |
11 | --x-libraries=${STAGING_LIBDIR} \ | 11 | --x-libraries=${STAGING_LIBDIR} \ |
@@ -68,11 +68,6 @@ do_install_append() { | |||
68 | install -m 0755 ${S}/gpsd.hotplug ${D}${base_libdir}/udev/ | 68 | install -m 0755 ${S}/gpsd.hotplug ${D}${base_libdir}/udev/ |
69 | install -d ${D}${base_libdir}/udev/ | 69 | install -d ${D}${base_libdir}/udev/ |
70 | install -m 0755 ${S}/gpsd.hotplug.wrapper ${D}${base_libdir}/udev/ | 70 | install -m 0755 ${S}/gpsd.hotplug.wrapper ${D}${base_libdir}/udev/ |
71 | |||
72 | #support for systemd | ||
73 | install -d ${D}${base_libdir}/systemd/system | ||
74 | install -m 644 ${WORKDIR}/${PN}.socket ${D}${base_libdir}/systemd/system | ||
75 | install -m 644 ${WORKDIR}/${PN}.service ${D}${base_libdir}/systemd/system | ||
76 | } | 71 | } |
77 | 72 | ||
78 | pkg_postinst_${PN}-conf() { | 73 | pkg_postinst_${PN}-conf() { |
@@ -83,7 +78,7 @@ pkg_postrm_${PN}-conf() { | |||
83 | update-alternatives --remove gpsd-defaults ${sysconfdir}/default/gpsd.default | 78 | update-alternatives --remove gpsd-defaults ${sysconfdir}/default/gpsd.default |
84 | } | 79 | } |
85 | 80 | ||
86 | PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils ${PN}-systemd" | 81 | PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils" |
87 | 82 | ||
88 | FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug" | 83 | FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug" |
89 | 84 | ||
@@ -113,6 +108,3 @@ RDEPENDS_gps-utils = "python-pygps" | |||
113 | DESCRIPTION_python-pygps = "Python bindings to gpsd" | 108 | DESCRIPTION_python-pygps = "Python bindings to gpsd" |
114 | FILES_python-pygps = "${PYTHON_SITEPACKAGES_DIR}/*" | 109 | FILES_python-pygps = "${PYTHON_SITEPACKAGES_DIR}/*" |
115 | RDEPENDS_python-pygps = "python-core python-curses gpsd python-json" | 110 | RDEPENDS_python-pygps = "python-core python-curses gpsd python-json" |
116 | |||
117 | FILES_${PN}-systemd += "${base_libdir}/systemd" | ||
118 | RDEPENDS_${PN}-systemd += "${PN}" | ||