diff -Nru ppc64-diag-2.6.9/debian/control ppc64-diag-2.6.9/debian/control --- ppc64-diag-2.6.9/debian/control 2015-08-05 20:12:47.000000000 +0200 +++ ppc64-diag-2.6.9/debian/control 2015-11-20 22:42:42.000000000 +0100 @@ -3,7 +3,7 @@ Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Frederic Bonnard -Build-Depends: debhelper (>= 9.0.0), flex, bison, librtas-dev, librtasevent-dev, libservicelog-dev, libncurses5-dev, libvpd-dev, libudev-dev +Build-Depends: debhelper (>= 9.0.0), dh-systemd, flex, bison, librtas-dev, librtasevent-dev, libservicelog-dev, libncurses5-dev, libvpd-dev, libudev-dev Standards-Version: 3.9.5 Homepage: http://sourceforge.net/projects/linux-diag/files/ppc64-diag/ diff -Nru ppc64-diag-2.6.9/debian/patches/series ppc64-diag-2.6.9/debian/patches/series --- ppc64-diag-2.6.9/debian/patches/series 2015-08-05 20:12:47.000000000 +0200 +++ ppc64-diag-2.6.9/debian/patches/series 2015-11-20 21:15:06.000000000 +0100 @@ -1 +1,2 @@ no-upstream-init.patch +systemd-installdir.patch diff -Nru ppc64-diag-2.6.9/debian/patches/systemd-installdir.patch ppc64-diag-2.6.9/debian/patches/systemd-installdir.patch --- ppc64-diag-2.6.9/debian/patches/systemd-installdir.patch 1970-01-01 01:00:00.000000000 +0100 +++ ppc64-diag-2.6.9/debian/patches/systemd-installdir.patch 2015-11-20 23:33:44.000000000 +0100 @@ -0,0 +1,19 @@ +Description: Fixing path for systemd'system services + The location used is the one used on Fedora/Redhat and it is not the same on + Debian/Ubuntu +Author: Frederic Bonnard +Origin: other +Bug: https://bugs.launchpad.net/ubuntu/+bug/1505088 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/rules.mk ++++ b/rules.mk +@@ -61,7 +61,7 @@ + INC_DIR = /usr/include + DOC_DIR = /usr/share/doc/packages/$(PROJECT) + MAN_DIR = /usr/share/man/man8 +-SYSTEMD_DIR = /usr/lib/systemd/system ++SYSTEMD_DIR = /lib/systemd/system + LIBEXEC_DIR = /usr/libexec/$(PROJECT) + + # Shipdir is where we put all the files to build an rpm diff -Nru ppc64-diag-2.6.9/debian/rules ppc64-diag-2.6.9/debian/rules --- ppc64-diag-2.6.9/debian/rules 2015-08-05 20:12:47.000000000 +0200 +++ ppc64-diag-2.6.9/debian/rules 2015-11-20 23:26:24.000000000 +0100 @@ -18,7 +18,7 @@ %: - dh $@ + dh $@ --with systemd override_dh_auto_install: install -d debian/ppc64-diag