]> git.proxmox.com Git - pve-container.git/commitdiff
d/rules: do not try to start or enable system-pve\x2dcontainer.slice
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 24 Nov 2020 09:11:50 +0000 (10:11 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 24 Nov 2020 09:11:56 +0000 (10:11 +0100)
Yes, we need *all* those flags for the installsystemd debhelper to do
nothing.

That is not required and logs errors during package upgrade, like:
> system-pve\x2dcontainer.slice is a disabled or a static unit,
> not starting it.

Completes the fix of commit 41d3078b34c08dc0d66a2c0215f2a598a05fcb6

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/rules

index 15a17b5d911ab94ba71e0038b6a79941bb353970..d9991520dafda68c382efaacb678b47191b62915 100755 (executable)
@@ -13,4 +13,4 @@
        dh $@
 
 override_dh_installsystemd:
-       dh_installsystemd -ppve-container --no-restart-after-upgrade -r 'system-pve\x2dcontainer.slice'
+       dh_installsystemd -ppve-container --no-start --no-enable --no-restart-after-upgrade -r 'system-pve\x2dcontainer.slice'