From 0374cb6b389495f8037d3477a2238375d542f70e Mon Sep 17 00:00:00 2001 From: MaxPeal <30347730+MaxPeal@users.noreply.github.com> Date: Mon, 9 Nov 2020 22:35:27 +0100 Subject: [PATCH] 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 --- .travis.yml | 2 ++ ci/install_deps.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c769fa4..71a5005 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,8 @@ env: - 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=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=armel CC=arm-linux-gnueabi-gcc ARCH_NATIVE= MINIMAL= - ARCH_SUFFIX=armhf CC=arm-linux-gnueabihf-gcc ARCH_NATIVE= MINIMAL= diff --git a/ci/install_deps.sh b/ci/install_deps.sh index 013c430..ef326d4 100755 --- a/ci/install_deps.sh +++ b/ci/install_deps.sh @@ -10,7 +10,7 @@ DEPS=( ) case "${ARCH_SUFFIX-}" in - amd64|'') ;; + amd64|x86_64|'') ;; 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) ;; armhf) DEPS+=(gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabihf libc6-dev-armhf-cross) ;;