Bug #5958
closedOsmocom Debian packages don't run systemctl daemon-reload
100%
Description
We should build the debian packages with:
%: dh $@ --with systemd
So that the debhelper scripts properly run systemctl daemon-reload
, restart services on upgrades etc.
Updated by osmith about 1 year ago
- Status changed from New to In Progress
- % Done changed from 0 to 20
Updated by osmith about 1 year ago
- % Done changed from 20 to 90
- Set compat level 12 via
Build-Depends: debhelper-compat (= 12)
and remove the old debian/compat file (as suggested here, note that even though it says "= 12" it also works with higher versions of debhelper) - Set the maintainer everywhere to "Osmocom team <openbsc@lists.osmocom.org>". We already had this in some packages, make it consistent.
Updated by osmith about 1 year ago
- % Done changed from 90 to 60
I'll just let jenkins build all of them in CI verification and fix the ones that fail. Apparently not all just work after upgrading the level.
Updated by osmith about 1 year ago
pespin pointed out in chat that we might not want to break compatibility with debian 9 yet, just in case somebody is still using it.
debian 9 has debhelper version 10.2.5 (listed here as o-o-stable), which supports compatibility level v10.
This still fixes the systemd problem, so I'll adjust the patches to use that.
Updated by osmith about 1 year ago
A nice side-effect is, that with v10 debhelper doesn't use -j1 anymore by default. It should speed up building all debian packages a bit.
Updated by osmith about 1 year ago
- % Done changed from 80 to 90
CI passes for all patches now, waiting for review.
Updated by osmith about 1 year ago
As mentioned in code review: the update checklist is here https://manpages.debian.org/testing/debhelper/debhelper-compat-upgrade-checklist.7.en.html and I've read through it.
Updated by osmith about 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
Updated by osmith about 1 year ago
libusrp failed with 2/18 builds after bumping the compat version with the errors noted in #3970.
Patch to disable parallel building for it:
https://gerrit.osmocom.org/c/libusrp/+/32545
All other packages built fine on OBS.