summaryrefslogtreecommitdiffstats
path: root/usr/share/initramfs-tools/hooks/cryptlukssc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/share/initramfs-tools/hooks/cryptlukssc')
-rwxr-xr-xusr/share/initramfs-tools/hooks/cryptlukssc6
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