~paelzer/ubuntu/+source/walinuxagent:modernize-packaging-v2

Last commit made on 2023-11-29
Get this branch:
git clone -b modernize-packaging-v2 https://git.launchpad.net/~paelzer/ubuntu/+source/walinuxagent
Only Christian Ehrhardt  can upload to this branch. If you are Christian Ehrhardt  please log in for upload directions.

Branch merges

Branch information

Name:
modernize-packaging-v2
Repository:
lp:~paelzer/ubuntu/+source/walinuxagent

Recent commits

c91ab1d... by Christian Ehrhardt 

changelog: mention further fixes

Signed-off-by: Christian Ehrhardt <email address hidden>

0637eab... by Christian Ehrhardt 

d/install: move remaining things to /usr

Signed-off-by: Christian Ehrhardt <email address hidden>

2fae891... by Christian Ehrhardt 

d/control: fix lintian priority-extra-is-replaced-by-priority-optional

Signed-off-by: Christian Ehrhardt <email address hidden>

b980ea2... by Christian Ehrhardt 

d/control: add iproute2 build depdency (test only)

Signed-off-by: Christian Ehrhardt <email address hidden>

b32dc42... by Christian Ehrhardt 

d/rules: stop using the old systemd dh sequence

Matching our switch to dh_installsystemd we need to stop calling
for the older systemd-sequence in dh.

This fixes:
error: The systemd-sequence is no longer provided in compat >= 11,
please rely on dh_installsystemd instead

Signed-off-by: Christian Ehrhardt <email address hidden>

1f7b1e6... by Christian Ehrhardt 

d/control: drop old unneeded X-Python3-Version statement

Signed-off-by: Christian Ehrhardt <email address hidden>

a4e01ce... by Christian Ehrhardt 

d/rules, d/install: install services once

Since "7d793bf debian: Remove upstart config" --no-restart-on-upgrade
behavior was lost. Add it back with the new name --no-stop-on-upgrade.

Furthermore the install was a mix of the upstream putting files
under /lib and then debian/install putting it under /usr/lib leading
to file-in-root-and-usr warnings.

Furthermore dh_systemd_enable and the formerly dropped dh_installinit
have been consumed into dh_installsystemd for systemd units.

Finally dh_installsystemd will drop the executable bit which is
wrong in the upstream archive and triggers executable-not-elf-or-script.

So overall to hopefully do it right we do:
- ephemeral-disk-warning.service gets installed by d/install
- walinuxagent.service gets installed badly by upstream and removed in
  d/rules
- both services are then picked up and configured by dh_installsystemd

86576bf... by Christian Ehrhardt 

d/rules: remove udev rules placed at the wrong path

debian/install will put them in the right spot.
Engaging with upstream to fix their installer might be good.

Signed-off-by: Christian Ehrhardt <email address hidden>

bcec2db... by Christian Ehrhardt 

d/control, d/compat: switch to compat level 13

Signed-off-by: Christian Ehrhardt <email address hidden>

9787b20... by Calvin Mwadime Makokha

debian/changelog: Update the version