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 8, 2024
1 parent d3b035a commit ad76a59
Show file tree
Hide file tree
Showing 3 changed files with 36 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-mu0
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

[Match]
Distribution=|debian
Distribution=|ubuntu

[Match]
Release=|bullseye
Release=|bookworm
Release=!focal
Release=|jammy
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,17 @@
# SPDX-License-Identifier: LGPL-2.1-or-later

[Match]
Distribution=|debian
Distribution=|ubuntu

[Match]
Release=!bullseye
Release=!bookworm
Release=|noble

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

0 comments on commit ad76a59

Please sign in to comment.