From 5362960c7020e76e2dbc7820992a1d21aec8b211 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 2 Jun 2020 20:49:01 -0500 Subject: Fix multiarch library location on ppc64le systems Signed-off-by: Timothy Pearson --- usr/share/initramfs-tools/hooks/cryptlukssc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'usr/share/initramfs-tools/hooks') 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 -- cgit v1.2.1