Skip to content

Commit 7324eca

Browse files
committed
Disable usr-merge support for older Debian/Ubuntu releases that didn't have the merged /usr directories scheme.
1 parent dd48435 commit 7324eca

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Cargo.toml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,19 @@ maintainer-scripts = "pkg/debian"
6767
changelog = "target/debian/changelog" # this will be generated by the pkg workflow
6868
copyright = "Copyright (c) 2025, NLnet Labs. All rights reserved."
6969
conf-files = ["/etc/kmip2pkcs11/config.toml"]
70-
systemd-units = { unit-name = "kmip2pkcs11", unit-scripts = "pkg/common", enable = false, usr-merge = true } # usr-merge is needed for Trixie and later
70+
systemd-units = { unit-name = "kmip2pkcs11", unit-scripts = "pkg/common", enable = false, usr-merge = true } # usr-merge is needed for Bookworm/Noble and later
71+
72+
[package.metadata.deb.variants.debian-buster]
73+
systemd-units = { unit-name = "kmip2pkcs11", unit-scripts = "pkg/common", enable = false, usr-merge = false }
74+
75+
[package.metadata.deb.variants.debian-bullseye]
76+
systemd-units = { unit-name = "kmip2pkcs11", unit-scripts = "pkg/common", enable = false, usr-merge = false }
77+
78+
[package.metadata.deb.variants.ubuntu-focal]
79+
systemd-units = { unit-name = "kmip2pkcs11", unit-scripts = "pkg/common", enable = false, usr-merge = false }
80+
81+
[package.metadata.deb.variants.ubuntu-jammy]
82+
systemd-units = { unit-name = "kmip2pkcs11", unit-scripts = "pkg/common", enable = false, usr-merge = false }
7183

7284
[package.metadata.generate-rpm]
7385
assets = [

0 commit comments

Comments
 (0)