Commit Graph

11 Commits

Author SHA1 Message Date
Michael Biebl
320aed41fc debian/systemd.preinst: Correctly determine whether a service is enabled
Testing for the return code alone is not sufficient as we need to
differentiate between "generated" and "enabled" services.

Closes: #825981
2016-06-21 23:10:41 +02:00
Martin Pitt
627c2aa2d6 systemd.{pre,post}inst: Clean up obsolete upgrade fixes
These applied to upgrades to wheezy or jessie.
2015-05-12 09:24:17 +02:00
Martin Pitt
01dd876967 Drop installation of readahead related services and code
Readahead got dropped in this version.
2014-11-28 10:52:32 +01:00
Jon Severinsson
bb8785d8c4 Do not force-enable default-on services on every upgrade.
Also drops the systemd-networkd, systemd-resolved and systemd-timesyncd
from the set of default services.
2014-08-10 11:04:26 +02:00
Michael Stapelberg
449d45f17b preinst: only preserve unit files for systems running systemd as PID 1 (Thanks mbiebl) 2013-10-28 08:02:58 +01:00
Michael Stapelberg
75051b6a5a preinst: preserve var-{lock,run}.mount when upgrading from 44 to 204
Closes: #723936
2013-10-27 22:50:51 +01:00
Tollef Fog Heen
1394b97d98 Move diversion removal from postinst to preinst. Closes: #679728 2012-07-01 08:23:34 +02:00
Tollef Fog Heen
27bb26a30a Ship lsb init script override/integration in /lib/lsb/init-functions.d
Do this rather than diverting /lib/lsb/init-functions itself.  Add
appropriate Breaks to ensure upgrades happen.
2012-06-30 20:25:16 +02:00
Michael Biebl
e3c0434f4a Use new dh_installdeb maintscript facility to handle obsolete conffiles.
Bump Build-Depends on debhelper accordingly.

Conflicts:

	debian/changelog
2012-02-28 07:57:19 +01:00
Michael Biebl
5db9a9988c Remove obsolete conffiles from /etc/tmpfiles.d on upgrades. Those files are installed in /usr/lib/tmpfiles.d now. 2011-06-29 14:00:03 +02:00
Tollef Fog Heen
44b765a9e8 Divert lsb init-functions instead of abusing logging hook 2011-04-21 17:19:33 +02:00