From 1b460979f8b0d8d88a4099ad3dcff98c9750c54e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 20 Mar 2017 15:51:17 -0400 Subject: [PATCH] custom-chroot: add ppc64le support --- .bin/custom-chroot | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.bin/custom-chroot b/.bin/custom-chroot index c4036aa..93bca67 100755 --- a/.bin/custom-chroot +++ b/.bin/custom-chroot @@ -36,19 +36,21 @@ maybe_mount() { get_type() { case $(file "$1") in - *x86-64*) echo x86_64;; - *"Intel 80386"*) echo i386;; - *32-bit*PowerPC*) echo ppc;; - *64-bit*PowerPC*) echo ppc64;; - *32-bit*S/390*) echo s390;; - *64-bit*S/390*) echo s390x;; - *64-bit*MIPS*) echo mips64;; - *32-bit*MIPS*N32*)echo mips64;; - *32-bit*MIPS*) echo mips;; - *32-bit*PA-RISC*) echo parisc;; - *64-bit*PA-RISC*) echo parisc64;; - *32-bit*SPARC*) echo sparc;; - *64-bit*SPARC*) echo sparc64;; + *x86-64*) echo x86_64;; + *"Intel 80386"*) echo i386;; + *32-bit*PowerPC*MSB*) echo ppc;; + *64-bit*PowerPC*MSB*) echo ppc64;; + *32-bit*PowerPC*LSB*) echo ppcle;; + *64-bit*PowerPC*LSB*) echo ppc64le;; + *32-bit*S/390*) echo s390;; + *64-bit*S/390*) echo s390x;; + *64-bit*MIPS*) echo mips64;; + *32-bit*MIPS*N32*) echo mips64;; + *32-bit*MIPS*) echo mips;; + *32-bit*PA-RISC*) echo parisc;; + *64-bit*PA-RISC*) echo parisc64;; + *32-bit*SPARC*) echo sparc;; + *64-bit*SPARC*) echo sparc64;; esac } -- 2.39.5