Skip to content

Commit c23464f

Browse files
build(proot): update embedded runtime to upstream master
Pin termux/proot at 7cbed092 after v5.1.107.102 and rebuild the ARM64, ARMv7, and x86-64 assets with the existing Android patches. Advance the runtime cache key so installed builds extract the new executable, and record the exact source archive checksum.
1 parent d80e1a6 commit c23464f

6 files changed

Lines changed: 9 additions & 8 deletions

File tree

‎THIRD_PARTY_NOTICES.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ third-party components.
66
## PRoot
77

88
- Project: <https://github.com/termux/proot>
9-
- Version: `5.1.107.101`
9+
- Version: `5.1.107.102-17-g7cbed09` (commit `7cbed09235d18cdb4be8eed456038608c10a29a0`)
1010
- Source archive SHA-256:
11-
`a66743f50c7b0bac1913b83bf55e139d679c80a0ca2808eec76432a65640017f`
11+
`7eb180832597a2a949a5491fee7a829ef3cb5ae787403349d0c32c568f5b43f9`
1212
- License: GNU General Public License version 2
1313
- Local patch set: `patches/proot`
1414

15 KB
Binary file not shown.
12.9 KB
Binary file not shown.
14.8 KB
Binary file not shown.

‎app/src/main/java/org/randomcoder/udroid/install/AndroidRootfsRuntime.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ data class ProotRuntime(
4242
)
4343

4444
object ProotRuntimeInstaller {
45-
private const val PROOT_VERSION = "5.1.107.101-3"
45+
private const val PROOT_VERSION = "5.1.107.102-17-g7cbed09-1"
4646
private const val TAR_VERSION = "1.35-1"
4747
private val supportedAbis = setOf("arm64-v8a", "armeabi-v7a", "x86_64")
4848

‎tools/build-proot-assets.sh‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ NDK="${ANDROID_NDK_HOME:-${ANDROID_HOME:-$HOME/Library/Android/sdk}/ndk/28.2.136
66
TOOLCHAIN="$NDK/toolchains/llvm/prebuilt/darwin-x86_64/bin"
77
API=26
88

9-
PROOT_VERSION=5.1.107.101
10-
PROOT_SHA256=a66743f50c7b0bac1913b83bf55e139d679c80a0ca2808eec76432a65640017f
9+
PROOT_VERSION=5.1.107.102-17-g7cbed09
10+
PROOT_COMMIT=7cbed09235d18cdb4be8eed456038608c10a29a0
11+
PROOT_SHA256=7eb180832597a2a949a5491fee7a829ef3cb5ae787403349d0c32c568f5b43f9
1112
TALLOC_VERSION=2.4.3
1213
TALLOC_SHA256=dc46c40b9f46bb34dd97fe41f548b0e8b247b77a918576733c528e83abd854dd
1314

@@ -30,7 +31,7 @@ fetch_checked() {
3031
}
3132

3233
fetch_checked \
33-
"https://github.com/termux/proot/archive/v${PROOT_VERSION}.zip" \
34+
"https://github.com/termux/proot/archive/${PROOT_COMMIT}.zip" \
3435
"$WORK/proot.zip" \
3536
"$PROOT_SHA256"
3637
fetch_checked \
@@ -58,7 +59,7 @@ build_abi() {
5859
unzip -q "$WORK/proot.zip" -d "$abi_work/proot-source"
5960
tar -xzf "$WORK/talloc.tar.gz" -C "$abi_work/talloc" --strip-components=1
6061
for patch_file in "$ROOT"/patches/proot/*.patch; do
61-
patch -d "$abi_work/proot-source/proot-${PROOT_VERSION}" -p1 < "$patch_file"
62+
patch -d "$abi_work/proot-source/proot-${PROOT_COMMIT}" -p1 < "$patch_file"
6263
done
6364

6465
(
@@ -75,7 +76,7 @@ build_abi() {
7576
install -m 644 talloc.h "$prefix/include/talloc.h"
7677
)
7778

78-
local proot_source="$abi_work/proot-source/proot-${PROOT_VERSION}"
79+
local proot_source="$abi_work/proot-source/proot-${PROOT_COMMIT}"
7980
(
8081
cd "$proot_source"
8182
PATH="$wrappers:$PATH" make \

0 commit comments

Comments
 (0)