diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2020-06-02 20:49:01 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2020-06-03 06:43:07 -0500 |
commit | 5362960c7020e76e2dbc7820992a1d21aec8b211 (patch) | |
tree | 2c1dab0a4ca2eea22a6bcd1e6ebcab9a6413dcd5 /usr | |
parent | 6c785628a1babe3a5415f32b88d323ac2070c486 (diff) | |
download | smartcardauth-5362960c7020e76e2dbc7820992a1d21aec8b211.tar.gz smartcardauth-5362960c7020e76e2dbc7820992a1d21aec8b211.zip |
Fix multiarch library location on ppc64le systems
Signed-off-by: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/share/initramfs-tools/hooks/cryptlukssc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/share/initramfs-tools/hooks/cryptlukssc b/usr/share/initramfs-tools/hooks/cryptlukssc index 439d0b8..940a3a1 100755 --- a/usr/share/initramfs-tools/hooks/cryptlukssc +++ b/usr/share/initramfs-tools/hooks/cryptlukssc @@ -38,6 +38,12 @@ ARCHDIR=$(uname -i) if [ "$ARCHDIR" = "unknown" ]; then ARCHDIR=$(uname -m) fi +if [ "$ARCHDIR" = "ppc64le" ]; then + ARCHDIR="powerpc64" +fi +if [ "$ARCHDIR" = "ppc64el" ]; then + ARCHDIR="powerpc64" +fi if [ -e /lib/*${ARCHDIR}*/libgcc_s.so.1 ] then |