Skip to content

Commit

Permalink
mkosi-initrd: split Debian/Ubuntu config for libtss dependencies by r…
Browse files Browse the repository at this point in the history
…elease

The package changes from libtss2-mu0 to libtss2-mu-4.0.1-0 in Debian
trixie.

Also remove unnecessary escaping in the regex.

Fixes: #2346
  • Loading branch information
behrmann committed Feb 9, 2024
1 parent 71de2fe commit b91297e
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ Packages=

# Various libraries that are dlopen'ed by systemd
libfido2-1
^libtss2-esys-[0-9\.]+-0$
libtss2-rc0
^libtss2-mu[0-9\.-]+$
libtss2-tcti-device0

RemovePackages=
# TODO: Remove dpkg if dash ever loses its dependency on it.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SPDX-License-Identifier: LGPL-2.1-or-later

[TriggerMatch]
Distribution=debian
Release=|bullseye
Release=|bookworm

[TriggerMatch]
Distribution=ubuntu
Release=|jammy
Release=|lunar
Release=|mantic

[Content]
Packages=
^libtss2-esys-[0-9.]+-0$
libtss2-rc0
libtss2-tcti-device0
libtss2-mu0
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: LGPL-2.1-or-later

[TriggerMatch]
Distribution=debian
Release=!bullseye
Release=!bookworm

[TriggerMatch]
Distribution=ubuntu
Release=!focal
Release=!jammy
Release=!lunar
Release=!mantic

[Content]
Packages=
^libtss2-esys-[0-9.]+-0$
libtss2-rc0
libtss2-tcti-device0
^libtss2-mu-[0-9.]+-0$

0 comments on commit b91297e

Please sign in to comment.