-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello Laurent,
On Wed, 2017-01-25 at 17:00 +0100, Laurent Bigonville wrote: > Package: iio-sensor-proxy > Followup-For: Bug #852597 > > Hi, > > The patch attached here seems to do the job. Thank you for the quick patch you provided. Appreciate you help. But it reached me after I did the upload. :-) There's a nice wiki howto for developers integrating systemd into their packages. https://wiki.debian.org/Teams/pkg-systemd/Packaging?action=show&redirect=systemd%2FPackaging#Using_debhelper_with_dh_systemd That link was comprehensive enough. Thanks to the Debian Systemd team. I was able to fix the bug just with the following changes, with dh-systemd. It takes care of populating the installation scripts by itself. diff --git a/debian/control b/debian/control index a3e4ed2..6abdb98 100644 - --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: iio-sensor-proxy Section: utils Priority: optional Maintainer: Ritesh Raj Sarraf <[email protected]> - -Build-Depends: debhelper (>= 9.20120312), libgudev-1.0-dev, udev, systemd, gtk- doc-tools (>= 1.0), libgtk-3-dev +Build-Depends: debhelper (>= 9.20120312), libgudev-1.0-dev, udev, systemd, gtk- doc-tools (>= 1.0), libgtk-3-dev, dh-systemd (>= 1.5) Standards-Version: 3.9.8 Homepage: https://github.com/hadess/iio-sensor-proxy Vcs-Git: https://anonscm.debian.org/git/collab-maint/iio-sensor-proxy diff --git a/debian/rules b/debian/rules index 2086e2f..8ebdc52 100755 - --- a/debian/rules +++ b/debian/rules @@ -8,7 +8,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DH_OPTIONS %: - - dh $@ + dh $@ --with systemd - -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEQCVDstmIVAB/Yn02pjpYo/LhdWkFAliI2OIACgkQpjpYo/Lh dWkbkg/8DBIOIODw7cBZB0B7qT2+kD7moHDlrK1UHYueNFl2zzGwt1mO+01G17i1 5RFzSykrd40X5DmpYJNNzcxOAWeHso2Mkmdk83NDLF4N5ka3eDcFm4eQsyey63mN N3BFfp4zb+nQRvnqCP4NaGZvvtUGIQCOqNSThs2IikjOSVWtb4MhjJVm49e4r/0X 6XQ/mrWvBJyOCIqJ5q6g7CKQvzgU8MWQ8eQZsqpzyQmCPvt/hEqUWBXIBPpKPF1H OYExubOnafU29Nnln4BpctUBTaHWejyUzpYSeUI60rOyLwgyhd9k1nIwo5lt7oUE U9FVE/1NPAL1ICY8le9OgUb6gVn9hMur/T0I/8AYQd+rviHyRd12pLbndhojx5tY I0+luumNur63r6w4BRRbrx/8VbaSLTNhiDGTMX+bGwMyGSDYZRI20yBV5CZkhrKo l91j/opwvWWaINCGnlwvDgTUembKYUQIdasJECKw/SzwHgZSQoSXQYeaFWpTYpVC /REaZ33hSEnas/lAAVhAgiBsWzYGkxQkKUW2SC7d+A2G6lEA2bc/vUr6XIujFNcd Z0coqkesDPDMLFbZNwnHrFbKYCYdQwracJ7HE4cSfRkC9Dx8LUlF8RF4323TZpEH 7oEELYjhGjM2ydwamHhKD71xRZF5u1vhkVk/q4RLFKl69MK4sLY= =FpdQ -----END PGP SIGNATURE-----

