From 4702001dcc77434800a379ac86fd55b4eb89af8c Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Tue, 12 Feb 2019 19:42:46 +0200 Subject: [PATCH] sample build.sh: add notice about disallowed behaviour Superuser privileges and modification of files outside of build directories (e.g. in $HOME) are disallowed to prevent data loss or system breakage. --- docs/sample/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/sample/build.sh b/docs/sample/build.sh index 0f393128c..3619976ae 100644 --- a/docs/sample/build.sh +++ b/docs/sample/build.sh @@ -3,6 +3,10 @@ # Unless otherwise specified, variables are optional. # Default values of all variables are found in build-package.sh +# IMPORTANT: build.sh script should not execute commands that +# require superuser (su/sudo) privileges or modify files outside +# of build directories. + TERMUX_PKG_API_LEVEL= # Minimal required Android API Level to run this package. TERMUX_PKG_BLACKLISTED_ARCHES= # CPU architectures where the package could not be built. TERMUX_PKG_BREAKS= # Packages that the package will break.