Skip to content

Commit

Permalink
✨ Added alternate shared library paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Wakeful-Cloud committed Apr 9, 2024
1 parent 83a630b commit 26e31af
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions build/nfpm-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 26e31af

Please sign in to comment.