1
0

Merge pull request #10148 from accumulator/android_16kb_page_alignment

android: 16kb alignment updates
This commit is contained in:
ghost43
2025-09-01 16:12:24 +00:00
committed by GitHub
5 changed files with 67 additions and 13 deletions

View File

@@ -74,6 +74,24 @@ clone_or_update_repo() {
fi
}
apply_patch() {
local patch=$1
local path=$2
if [ -z "$patch" ] || [ -z "$path" ]; then
fail "apply_patch: invalid arguments: patch='$patch', path='$path'"
fi
if [ -d "$path" ]; then
info "Patching: $patch"
cd "$path"
patch -p1 <"$patch"
cd -
else
fail "apply_patch: path='$path' not found"
fi
}
# https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/templates/header.sh
function retry() {
local result=0