From: Mike Frysinger Date: Mon, 20 Mar 2017 19:51:17 +0000 (-0400) Subject: custom-chroot: add ppc64le support X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1b460979f8b0d8d88a4099ad3dcff98c9750c54e;p=home.git custom-chroot: add ppc64le support --- 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 }