From d8feda7a2f5dba5ec4de4c202b9b0e5a9f8a2aba Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 10 Mar 2023 11:59:03 -0400 Subject: [PATCH] added arm64-ancient build Added arm64 build for ancient kernels, needed to support Android phones whose kernels are too old to support kernels used by the current arm64 build. Updated Android/git-annex-install to use it. (Also made it use i386-ancient because that seems like a good idea.) Sponsored-by: Noam Kremen on Patreon --- Build/DistributionUpdate.hs | 2 +- CHANGELOG | 3 +++ doc/builds.mdwn | 6 ++++++ doc/install/Android/git-annex-install | 6 +++--- doc/install/Linux_standalone.mdwn | 14 +++++++++----- 5 files changed, 22 insertions(+), 9 deletions(-) diff --git a/Build/DistributionUpdate.hs b/Build/DistributionUpdate.hs index 79f8a6c188..b937d69bd9 100644 --- a/Build/DistributionUpdate.hs +++ b/Build/DistributionUpdate.hs @@ -39,7 +39,7 @@ signingKey = "89C809CB" -- it in the repository. autobuilds :: [(URLString, FilePath)] autobuilds = - (map linuxarch ["i386", "amd64", "armel", "arm64", "i386-ancient"]) ++ + (map linuxarch ["i386", "amd64", "armel", "arm64", "i386-ancient", "arm64-ancient"]) ++ [ (autobuild "x86_64-apple-catalina/git-annex.dmg", "git-annex/OSX/current/10.15_Catalina/git-annex.dmg") , (autobuild "windows/git-annex-installer.exe", "git-annex/windows/current/git-annex-installer.exe") ] diff --git a/CHANGELOG b/CHANGELOG index b5b4903a7b..3d4b8e181e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -8,6 +8,9 @@ git-annex (10.20230228) UNRELEASED; urgency=medium * status: This command is deprecated because it was only needed in direct mode; git status --short is very similar. * Windows: Support long filenames in more (possibly all) of the code. + * Added arm64 build for ancient kernels, needed to support Android phones + whose kernels are too old to support kernels used by the current arm64 + build. -- Joey Hess Mon, 27 Feb 2023 12:31:14 -0400 diff --git a/doc/builds.mdwn b/doc/builds.mdwn index 63ff3d461f..4d6ec9c7ac 100644 --- a/doc/builds.mdwn +++ b/doc/builds.mdwn @@ -18,6 +18,9 @@

Linux i386-ancient

+

Linux arm64-ancient

+

OSX

@@ -43,6 +46,9 @@

Linux i386-ancient

+

Linux arm64-ancient

+

OSX

diff --git a/doc/install/Android/git-annex-install b/doc/install/Android/git-annex-install index cc85cd4fa8..7f0aa27581 100755 --- a/doc/install/Android/git-annex-install +++ b/doc/install/Android/git-annex-install @@ -13,7 +13,7 @@ set -e case $(uname -m) in aarch64) - arch=arm64 + arch=arm64-ancient ;; arm) arch=armel @@ -22,10 +22,10 @@ case $(uname -m) in arch=armel ;; x86_64) - arch=amd64 + arch=amd64-ancient ;; x86_32) - arch=i386 + arch=i386-ancient ;; *) echo "unknown architecture $(uname -m), cannot install" >&2 diff --git a/doc/install/Linux_standalone.mdwn b/doc/install/Linux_standalone.mdwn index 4d11db176a..72659855fc 100644 --- a/doc/install/Linux_standalone.mdwn +++ b/doc/install/Linux_standalone.mdwn @@ -5,11 +5,12 @@ prebuilt tarball of the most recent release. This tarball should work on most Linux systems. It has basically no dependencies and is self-contained. -* x86-32: [download tarball](https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-i386.tar.gz) * x86-64: [download tarball](https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz) +* x86-32: [download tarball](https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-i386.tar.gz) * x86-32, for ancient kernels: [download tarball](https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-i386-ancient.tar.gz) * arm: [download tarball](https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-armel.tar.gz) * arm64: [download tarball](https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-arm64.tar.gz) +* arm64, for ancient kernels: [download tarball](https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-arm64-ancient.tar.gz) To use, just unpack the tarball, `cd git-annex.linux` and run `./runshell` -- this sets up an environment where you can use `git annex`, as well @@ -26,17 +27,20 @@ linux systems. * [[tips/Synology_NAS_and_git_annex]] * [[forum_thread|forum/new_linux_arm_tarball_build]] -The build for ancient kernels is for use with Linux kernel versions -such as 2.6.32. It will work on both 32 and 64 bit systems. +The x86-32 build for ancient kernels is for use with Linux kernel +versions such as 2.6.32. It will work on both 32 and 64 bit systems. +The arm64 build for ancient kernels is for kernels such as 4.19, +which is still in use on Android phones. ## autobuilds An hourly autobuild is also available, hosted by [[Joey]]: -* x86-32: [download tarball](https://downloads.kitenet.net/git-annex/autobuild/i386/git-annex-standalone-i386.tar.gz) ([build logs](https://downloads.kitenet.net/git-annex/autobuild/i386/)) * x86-64: [download tarball](https://downloads.kitenet.net/git-annex/autobuild/amd64/git-annex-standalone-amd64.tar.gz) ([build logs](https://downloads.kitenet.net/git-annex/autobuild/amd64/)) +* x86-32: [download tarball](https://downloads.kitenet.net/git-annex/autobuild/i386/git-annex-standalone-i386.tar.gz) ([build logs](https://downloads.kitenet.net/git-annex/autobuild/i386/)) * x86-32, for ancient kernels: [download tarball](https://downloads.kitenet.net/git-annex/autobuild/i386-ancient/git-annex-standalone-i386-ancient.tar.gz) ([build logs](https://downloads.kitenet.net/git-annex/autobuild/i386-ancient/)) -* arm64: [download tarball](https://downloads.kitenet.net/git-annex/autobuild/armel/git-annex-standalone-arm64.tar.gz) ([build logs](https://downloads.kitenet.net/git-annex/autobuild/arm64/)) +* arm64: [download tarball](https://downloads.kitenet.net/git-annex/autobuild/armel/git-annex-standalone-arm64-ancient.tar.gz) ([build logs](https://downloads.kitenet.net/git-annex/autobuild/arm64-ancient/)) +* arm64, for ancient kernels: [download tarball](https://downloads.kitenet.net/git-annex/autobuild/armel/git-annex-standalone-arm64.tar.gz) ([build logs](https://downloads.kitenet.net/git-annex/autobuild/arm64/)) The arm autobuilder runs daily (sun permitting), and is hosted by [[Joey]].