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. Include them by name only if they exist.

Also remove unnecessary escaping in the regex.

Fixes: #2346
  • Loading branch information
behrmann committed Feb 8, 2024
1 parent 36b7618 commit 6f14fb4
Show file tree
Hide file tree
Showing 3 changed files with 31 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,15 @@
# SPDX-License-Identifier: LGPL-2.1-or-later

[Match]
Distribution=|debian
Release=|bullseye

[Match]
Distribution=|ubuntu

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

[Match]
Distribution=|debian
Release=|bullseye

[Match]
Distribution=|ubuntu
Release=|focal

[Content]
Packages=
?name(^libtss2-esys-[0-9.]+-0$)
?exact-name(libtss2-rc0)
?exact-name(libtss2-tcti-device0)
?name(^libtss2-mu-[0-9.]+-0$)

0 comments on commit 6f14fb4

Please sign in to comment.