From d40328b16a6c788fb2888fa2d248c03a9cbadd4a Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 10 Mar 2025 14:33:04 +0100 Subject: [PATCH] MT#61541 Swap trixie conditional to list the trixie case first as >= Listing it first makes it easier to know that this is the one that we need to preserve, and changing from the equality operator to a greater-or-equal, makes it explicit what the fallback case is about. Change-Id: Ifb63f9cb1d88fec4c67b51502a88724a009d50e4 --- templates/610_kernel-sysctl-params.yaml.tt2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/610_kernel-sysctl-params.yaml.tt2 b/templates/610_kernel-sysctl-params.yaml.tt2 index 58186db..8908038 100644 --- a/templates/610_kernel-sysctl-params.yaml.tt2 +++ b/templates/610_kernel-sysctl-params.yaml.tt2 @@ -4,10 +4,10 @@ kernel-param: value: "1" kernel.core_pattern: -{{if eq .Env.DEBIAN_RELEASE "12"}} - value: "|/lib/systemd/systemd-coredump %P %u %g %s %t 9223372036854775808 %h" -{{else}} +{{if ge .Env.DEBIAN_RELEASE "13"}} value: "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" +{{else}} + value: "|/lib/systemd/systemd-coredump %P %u %g %s %t 9223372036854775808 %h" {{end}} fs.suid_dumpable: