[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#907845: Warn if compat level 11 is used and dh_system_* helpers are used



On 9/3/18 06:19, Michael Biebl wrote:
> Package: lintian
> Version: 2.5.99
> Severity: wishlist
> 
> Hi,
> 
> in compat level 11, dh_systemd_start and dh_systemd_enable have been
> deprecated in favour of dh_installsystemd.
> dh will also no longer run the dh_systemd_{start,enable} helpers during
> build.
> I've seen a couple of packages which have updated their compat level to
> 11 but still use a dh_systemd_{start,enable} override.
> It would be nice if lintian could detect (grep for usage of
> override_dh_systemd_{start,enable} in debian/rules) and warn accordingly.

I'd like to add here, that if dh_systemd_{start,enable} are called
directly (say you use plain debhelper, they will error out in compat
mode 11 and above,

The problem is that the dh sequencer no longer calls
dh_systemd_{start,enable}, so it's the usage of
override_dh_systemd_{start,enable} which should be checked for.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: