[PKG-OpenRC-Debian] Bug#811708: init-system-helpers openrc branch pull request

Andreas Henriksson andreas at fatal.se
Sat Mar 5 21:30:40 UTC 2016


Hello again Benda Xu.

I've noticed that you in 
http://anonscm.debian.org/cgit/openrc/openrc.git/commit/?id=e29522cd4ee0cb20de161eb7ef33312cf3ac2ae8
have dropped the diverts you shipped in previous openrc package revision
(in  favour of now using invoke-rc.d/update-rc.d from init-system-helpers).

Is this really enough though? Don't you need to actively undivert
on package upgrades to undo the diverts (for those that had the
0.20.4-1 revision installed. Please note that you'll need to handle
the case where the files are not diverted as well (eg. when upgrading
from Debian stable version to current unstable version).

You should be able to check $1 for upgrade and $2 for which version
you're upgrading from. See for example:
https://wiki.debian.org/DpkgConffileHandling

Regards,
Andreas Henriksson



More information about the OpenRC-devel mailing list