add aliases x86_64 for uname -m

add aliases to what uname would return
so it work with uname -m
like https://github.com/krallin/tini/pull/147

add x86_64 for uname -m

to make it work with uname -m
like krallin#147
pull/158/head
MaxPeal 4 years ago committed by Thomas Orozco
parent de40ad0077
commit 0374cb6b38
  1. 2
      .travis.yml
  2. 2
      ci/install_deps.sh

@ -9,6 +9,8 @@ env:
- ARCH_SUFFIX= CC=gcc ARCH_NATIVE=1 MINIMAL= - ARCH_SUFFIX= CC=gcc ARCH_NATIVE=1 MINIMAL=
- ARCH_SUFFIX=amd64 CC=gcc ARCH_NATIVE=1 MINIMAL= - ARCH_SUFFIX=amd64 CC=gcc ARCH_NATIVE=1 MINIMAL=
- ARCH_SUFFIX=amd64 CC=gcc ARCH_NATIVE=1 MINIMAL=1 - ARCH_SUFFIX=amd64 CC=gcc ARCH_NATIVE=1 MINIMAL=1
- ARCH_SUFFIX=x86_64 CC=gcc ARCH_NATIVE=1 MINIMAL=
- ARCH_SUFFIX=x86_64 CC=gcc ARCH_NATIVE=1 MINIMAL=1
- ARCH_SUFFIX=arm64 CC=aarch64-linux-gnu-gcc ARCH_NATIVE= MINIMAL= - ARCH_SUFFIX=arm64 CC=aarch64-linux-gnu-gcc ARCH_NATIVE= MINIMAL=
- ARCH_SUFFIX=armel CC=arm-linux-gnueabi-gcc ARCH_NATIVE= MINIMAL= - ARCH_SUFFIX=armel CC=arm-linux-gnueabi-gcc ARCH_NATIVE= MINIMAL=
- ARCH_SUFFIX=armhf CC=arm-linux-gnueabihf-gcc ARCH_NATIVE= MINIMAL= - ARCH_SUFFIX=armhf CC=arm-linux-gnueabihf-gcc ARCH_NATIVE= MINIMAL=

@ -10,7 +10,7 @@ DEPS=(
) )
case "${ARCH_SUFFIX-}" in case "${ARCH_SUFFIX-}" in
amd64|'') ;; amd64|x86_64|'') ;;
arm64) DEPS+=(gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu libc6-dev-arm64-cross) ;; arm64) DEPS+=(gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu libc6-dev-arm64-cross) ;;
armel) DEPS+=(gcc-arm-linux-gnueabi binutils-arm-linux-gnueabi libc6-dev-armel-cross) ;; armel) DEPS+=(gcc-arm-linux-gnueabi binutils-arm-linux-gnueabi libc6-dev-armel-cross) ;;
armhf) DEPS+=(gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabihf libc6-dev-armhf-cross) ;; armhf) DEPS+=(gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabihf libc6-dev-armhf-cross) ;;

Loading…
Cancel
Save