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

Re: Bug#1117735: Restarting systemd user units on package upgrade



Hello,

On Wed 03 Dec 2025 at 07:12pm +01, Niels Thykier wrote:

> Sean Whitton:
>> Hello,
>> On Wed 03 Dec 2025 at 10:16am GMT, Sean Whitton wrote:
>>
>>> I don't think we mind that dgit-infrastructure.deb starts depending on
>>> dh compat level 14, but the problem is that we want the whole source
>>                                ^^ I meant: the rest of the source package
>>
>>> Ian, what do you think about something like this:
>>>
>>>          override_dh_installsystemduser:
>>>                  if $(compat 14 is available); then
>>>                          DH_COMPAT=14 dh_installsystemduser ...
>>>                  else
>>>                          dh_installsystemduser ...
>>>                  fi
>> I.e., on older releases of Debian, dgit-infrastructure.deb will be built
>> without restarts of tag2upload-oracled on upgrade.
>> (But tag2upload-oracled won't start on those releases anyway, due to
>> Perl & Python being too old.)
>>
>
> For the `if $(compat 14 is available); then`, the `dh_assistant` command might
> be useful (in case you were not aware of its functionality).

Thanks, I wasn't!

-- 
Sean Whitton


Reply to: