mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
55745d1aec
commit
62dd0bf7eb
|
|
@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d217a23f408e91c94359447735bc1800"
|
|||
DEPENDS = "dbus-glib ncurses python libusb1"
|
||||
PROVIDES = "virtual/gpsd"
|
||||
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
|
||||
--x-libraries=${STAGING_LIBDIR} \
|
||||
|
|
@ -68,11 +68,6 @@ do_install_append() {
|
|||
install -m 0755 ${S}/gpsd.hotplug ${D}${base_libdir}/udev/
|
||||
install -d ${D}${base_libdir}/udev/
|
||||
install -m 0755 ${S}/gpsd.hotplug.wrapper ${D}${base_libdir}/udev/
|
||||
|
||||
#support for systemd
|
||||
install -d ${D}${base_libdir}/systemd/system
|
||||
install -m 644 ${WORKDIR}/${PN}.socket ${D}${base_libdir}/systemd/system
|
||||
install -m 644 ${WORKDIR}/${PN}.service ${D}${base_libdir}/systemd/system
|
||||
}
|
||||
|
||||
pkg_postinst_${PN}-conf() {
|
||||
|
|
@ -83,7 +78,7 @@ pkg_postrm_${PN}-conf() {
|
|||
update-alternatives --remove gpsd-defaults ${sysconfdir}/default/gpsd.default
|
||||
}
|
||||
|
||||
PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils ${PN}-systemd"
|
||||
PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"
|
||||
|
||||
FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug"
|
||||
|
||||
|
|
@ -113,6 +108,3 @@ RDEPENDS_gps-utils = "python-pygps"
|
|||
DESCRIPTION_python-pygps = "Python bindings to gpsd"
|
||||
FILES_python-pygps = "${PYTHON_SITEPACKAGES_DIR}/*"
|
||||
RDEPENDS_python-pygps = "python-core python-curses gpsd python-json"
|
||||
|
||||
FILES_${PN}-systemd += "${base_libdir}/systemd"
|
||||
RDEPENDS_${PN}-systemd += "${PN}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user