Skip to content

Commit

Permalink
Fix package name for libpam-pkcs11 on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
mpurg committed Apr 29, 2024
1 parent 59013f6 commit ae07d5b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
Expand Up @@ -4,6 +4,8 @@
{{% set smartcard_packages = ['pam_pkcs11', 'mozilla-nss', 'mozilla-nss-tools', 'pcsc-ccid', 'pcsc-lite', 'pcsc-tools', 'opensc'] %}}
{{% elif product in ["rhel7", "ol7"] %}}
{{% set smartcard_packages = ['pam_pkcs11'] %}}
{{% elif 'ubuntu' in product %}}
{{% set smartcard_packages = ['libpam-pkcs11'] %}}
{{% else %}}
{{% set smartcard_packages = ['openssl-pkcs11'] %}}
{{% endif %}}
Expand Down
Expand Up @@ -77,6 +77,7 @@ template:
pkgname@ubuntu1604: libpam-pkcs11
pkgname@ubuntu1804: libpam-pkcs11
pkgname@ubuntu2004: libpam-pkcs11
pkgname@ubuntu2204: libpam-pkcs11
{{% endif %}}

fixtext: |-
Expand Down
1 change: 1 addition & 0 deletions products/ubuntu2204/product.yml
Expand Up @@ -44,6 +44,7 @@ platform_package_overrides:
pam: libpam-runtime
shadow: login
sssd: sssd-common
openssl-pkcs11: libpam-pkcs11

reference_uris:
cis: 'https://www.cisecurity.org/benchmark/ubuntu_linux/'
1 change: 1 addition & 0 deletions tests/data/product_stability/ubuntu2204.yml
Expand Up @@ -48,6 +48,7 @@ platform_package_overrides:
not_aarch64_arch: null
not_s390x_arch: null
nss-pam-ldapd: libpam-ldap
openssl-pkcs11: libpam-pkcs11
ovirt: null
pam: libpam-runtime
s390x_arch: null
Expand Down

0 comments on commit ae07d5b

Please sign in to comment.