Control: tags -1 + patch Hello!
Please see the attached patch wish simply masks the two init scripts when running under systemd. They don't seem to be useful on a modern system... possibly the init scripts themselves should be dropped as well because even the sysvinit bootup process has likely changed more than these scripts have kept up with. While at it I made some other minor house-keeping. Also note that using debian source format '3.0 (quilt)' there's no need to build-dep on and explicitly use quilt in debian/rules if you want to do futher easy cleanup. Regards, Andreas Henriksson
diff -Nru scsitools-0.12/debian/changelog scsitools-0.12/debian/changelog --- scsitools-0.12/debian/changelog 2013-10-28 12:30:00.000000000 +0100 +++ scsitools-0.12/debian/changelog 2016-06-13 19:51:55.000000000 +0200 @@ -1,3 +1,20 @@ +scsitools (0.12-2.3) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Add debian/scsitools.links to create symlinks masking the + scsitools.sh and scsitools-pre.sh init scripts under systemd. + - these scripts are likely not useful at all on modern systems. + (Closes: #796687) + * Add dh_link command to debian/rules for the above. + * Demote tk to a Suggests instead of Recommends to avoid pulling in + X11 when installing these otherwise low-level tools. + - the tools should already handle and give useful help/output + when run and tk/wish is missing. + * Drop util-linux versioned dependency as the version are already + new enough since ages and util-linux is Essential: yes anyway. + + -- Andreas Henriksson <[email protected]> Mon, 13 Jun 2016 19:41:12 +0200 + scsitools (0.12-2.2) unstable; urgency=low * Non-maintainer upload. diff -Nru scsitools-0.12/debian/control scsitools-0.12/debian/control --- scsitools-0.12/debian/control 2013-10-01 10:56:07.000000000 +0200 +++ scsitools-0.12/debian/control 2016-06-13 19:46:07.000000000 +0200 @@ -7,9 +7,9 @@ Package: scsitools Architecture: any -Depends: ${shlibs:Depends}, util-linux (>= 2.11b-3), sg3-utils (>= 1.24), ${misc:Depends} +Depends: ${shlibs:Depends}, sg3-utils (>= 1.24), ${misc:Depends} Conflicts: hwtools (<< 0.6) -Recommends: tk +Suggests: tk Description: Collection of tools for SCSI hardware management This package is a collection of tools for manipulating SCSI hardware: . diff -Nru scsitools-0.12/debian/rules scsitools-0.12/debian/rules --- scsitools-0.12/debian/rules 2011-01-21 22:39:27.000000000 +0100 +++ scsitools-0.12/debian/rules 2016-06-13 19:50:48.000000000 +0200 @@ -37,6 +37,7 @@ dh_testroot dh_prep dh_installdirs sbin lib usr/sbin usr/lib/scsitools usr/lib/scsi usr/share/doc/scsitools etc/init.d usr/share/lintian/overrides + dh_link install -m 755 -p debian/scsitools-pre.sh debian/$(p)/etc/init.d/ install -m 755 -p debian/scsitools.sh debian/$(p)/etc/init.d/ cd scsiinfo && $(MAKE) install DESTDIR=../debian/$(p) diff -Nru scsitools-0.12/debian/scsitools.links scsitools-0.12/debian/scsitools.links --- scsitools-0.12/debian/scsitools.links 1970-01-01 01:00:00.000000000 +0100 +++ scsitools-0.12/debian/scsitools.links 2016-06-13 19:40:29.000000000 +0200 @@ -0,0 +1,3 @@ +/dev/null /lib/systemd/system/scsitools-pre.service +/dev/null /lib/systemd/system/scsitools.service +

