diff --git a/build/nfpm-client.yml b/build/nfpm-client.yml index 9d0f55b..2461d40 100644 --- a/build/nfpm-client.yml +++ b/build/nfpm-client.yml @@ -24,6 +24,15 @@ contents: owner: root mode: 0644 + - src: /usr/lib/${MULTIARCH_TRIPLET}/libnss_oauth.so.2 + dst: /lib/${MULTIARCH_TRIPLET}/libnss_oauth.so.2 + expand: true + type: symlink + file_info: + group: root + owner: root + mode: 0644 + # NSS module shared library symlink - src: /usr/lib/${MULTIARCH_TRIPLET}/libnss_oauth.so.2 dst: /usr/lib/${MULTIARCH_TRIPLET}/libnss_oauth.so @@ -34,6 +43,15 @@ contents: owner: root mode: 0644 + - src: /usr/lib/${MULTIARCH_TRIPLET}/libnss_oauth.so.2 + dst: /lib/${MULTIARCH_TRIPLET}/libnss_oauth.so + expand: true + type: symlink + file_info: + group: root + owner: root + mode: 0644 + # PAM module shared library - src: ./dist/lib/pam_oauth.so dst: /usr/lib/${MULTIARCH_TRIPLET}/security/pam_oauth.so @@ -42,6 +60,15 @@ contents: group: root owner: root mode: 0644 + + - src: /usr/lib/${MULTIARCH_TRIPLET}/security/pam_oauth.so + dst: /lib/${MULTIARCH_TRIPLET}/security/pam_oauth.so + expand: true + type: symlink + file_info: + group: root + owner: root + mode: 0644 # Client binary - src: ./dist/bin/pam-oauth-client