On Wed, 2019-11-06 at 19:36 +0000, Martyn Welch wrote: > Source: dlt-daemon > Version: 2.18.4-0.1 > Severity: minor > > Dear Maintainer, > > Whilst tweaking the dlt-daemon for a Debian derivative I noticed that > this > package ships example systemd unit files which require binaries found > in the > dlt-tools and libdlt-examples packages. It is likely that in many > circumstances > dlt-daemon will be installed on systems without dlt-tools or libdlt- > examples > being present, hence these example units are unusable and are > essentially cruft > on many systems that may in fact be limited in storage. > > I have attached a patch which moves the example systemd unit files to > the > appropriate packages. >
Oops, forgot attachment! Martyn > Thanks, > > Martyn > > -- System Information: > Debian Release: bullseye/sid > APT prefers testing > APT policy: (500, 'testing') > Architecture: amd64 (x86_64) > Foreign Architectures: armhf, i386 > > Kernel: Linux 5.2.0-3-amd64 (SMP w/8 CPU cores) > Kernel taint flags: TAINT_WARN > Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), > LANGUAGE=en_GB:en (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash
From f7173da7cdaa484f056565534cf8cf45fb0a362e Mon Sep 17 00:00:00 2001 From: Martyn Welch <martyn.we...@collabora.com> Date: Wed, 6 Nov 2019 19:29:56 +0000 Subject: [PATCH] Move example systemd units to the appropriate packages The dlt-daemon package ships example systemd unit files which require binaries found in the dlt-tools and libdlt-examples packages. It is likely that in many circumstances dlt-daemon will be installed on systems without dlt-tools or libdlt-examples being present, hence these example units are unusable and essentially cruft on many systems that may in fact be limited in storage. Move the example systemd unit files to the appropriate packages. Signed-off-by: Martyn Welch <martyn.we...@collabora.com> --- debian/dlt-daemon.install | 3 --- debian/dlt-tools.install | 2 ++ debian/libdlt-examples.install | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/dlt-daemon.install b/debian/dlt-daemon.install index 966fb63..a7ae18e 100644 --- a/debian/dlt-daemon.install +++ b/debian/dlt-daemon.install @@ -3,6 +3,3 @@ etc/dlt_gateway.conf usr/bin/dlt-daemon usr/share/man/man1/dlt-daemon.* usr/share/man/man5/dlt.conf.* -usr/lib/systemd/system/dlt-adaptor-udp.service /usr/share/doc/dlt-daemon/examples -usr/lib/systemd/system/dlt-example-user.service /usr/share/doc/dlt-daemon/examples -usr/lib/systemd/system/dlt-receive.service /usr/share/doc/dlt-daemon/examples diff --git a/debian/dlt-tools.install b/debian/dlt-tools.install index e7c2a0c..3a318af 100644 --- a/debian/dlt-tools.install +++ b/debian/dlt-tools.install @@ -14,3 +14,5 @@ usr/share/man/man1/dlt-*-ctrl* usr/share/man/man1/dlt-receive* usr/share/man/man1/dlt-system* usr/share/man/man5/dlt-system* +usr/lib/systemd/system/dlt-adaptor-udp.service /usr/share/doc/dlt-tools/examples +usr/lib/systemd/system/dlt-receive.service /usr/share/doc/dlt-tools/examples diff --git a/debian/libdlt-examples.install b/debian/libdlt-examples.install index 960d661..e16a1d1 100644 --- a/debian/libdlt-examples.install +++ b/debian/libdlt-examples.install @@ -4,3 +4,4 @@ examples/* /usr/share/doc/libdlt-examples src/examples/* /usr/share/doc/libdlt-examples doc/*.txt /usr/share/doc/libdlt-examples doc/images/* /usr/share/doc/libdlt-examples +usr/lib/systemd/system/dlt-example-user.service /usr/share/doc/libdlt-examples/examples -- 2.24.0.rc1