Skip to content

Commit 95e8054

Browse files
authored
Added patch to change to autopie packagename and SUBDIR
1 parent c05e633 commit 95e8054

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
diff --git a/scripts/properties.sh b/scripts/properties.sh
2+
old mode 100644
3+
new mode 100755
4+
index b98c3a4690..fa14d614d6
5+
--- a/scripts/properties.sh
6+
+++ b/scripts/properties.sh
7+
@@ -76,7 +76,7 @@ __TERMUX_BUILD_PROPS__VALIDATE_PATHS_MAX_LEN="true"
8+
# Whether to validate `usr` merge format for `TERMUX__PREFIX`. Set to `false` to skip validation.
9+
# Check `TERMUX__PREFIX` variable docs for more info.
10+
##
11+
-__TERMUX_BUILD_PROPS__VALIDATE_TERMUX_PREFIX_USR_MERGE_FORMAT="true"
12+
+__TERMUX_BUILD_PROPS__VALIDATE_TERMUX_PREFIX_USR_MERGE_FORMAT="false"
13+
14+
15+
16+
@@ -371,7 +371,7 @@ fi
17+
#
18+
# Default value: `Termux`
19+
##
20+
-TERMUX__NAME="Termux"
21+
+TERMUX__NAME="AutoPie"
22+
23+
##
24+
# The lower case value for `TERMUX__NAME`.
25+
@@ -464,7 +464,7 @@ TERMUX__REPOS_HOST_ORG_URL="https://github.com/$TERMUX__REPOS_HOST_ORG_NAME"
26+
#
27+
# Default value: `com.termux`
28+
##
29+
-TERMUX_APP__PACKAGE_NAME="com.termux"
30+
+TERMUX_APP__PACKAGE_NAME="com.autosec.pie"
31+
TERMUX_APP_PACKAGE="$TERMUX_APP__PACKAGE_NAME" # Deprecated alternative variable for `TERMUX_APP__PACKAGE_NAME`
32+
33+
__termux_build_props__add_variables_validator_actions "TERMUX_APP__PACKAGE_NAME" "app_package_name"
34+
@@ -743,7 +743,7 @@ __termux_build_props__add_variables_validator_actions "TERMUX__ROOTFS_ID" "unsig
35+
#
36+
# Default value: `files`
37+
##
38+
-TERMUX__ROOTFS_SUBDIR="files"
39+
+TERMUX__ROOTFS_SUBDIR="files/build"
40+
__termux_build_props__add_variables_validator_actions "TERMUX__ROOTFS_SUBDIR" "allow_unset_value safe_relative_path"
41+
42+
###########

0 commit comments

Comments
 (0)