summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-01-19 17:32:25 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-01-19 17:32:25 -0800
commitfe6a78178a2d718352a1160ba67e78b344aa3a82 (patch)
tree4a4d3c5f03a6daa217344bcb43faa7905356dcd8 /scripts
parenta9434998cd03c3564b231e7b5c607a428c9ef59c (diff)
parent027601a8dab5a5d425f1b9ee2766c847c7983d52 (diff)
Merge "Update fstab.postinstall documentation in gen_build_prop.py" into main
Diffstat (limited to 'scripts')
-rw-r--r--scripts/gen_build_prop.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/gen_build_prop.py b/scripts/gen_build_prop.py
index 430e6134a..355f33d6c 100644
--- a/scripts/gen_build_prop.py
+++ b/scripts/gen_build_prop.py
@@ -308,7 +308,15 @@ def append_additional_system_props(args):
props.append(f"ro.sanitize.{sanitize_target}=true")
# Sets the default value of ro.postinstall.fstab.prefix to /system.
- # Device board config should override the value to /product when needed by:
+ #
+ # Device board configs can override this to /product to use a
+ # product-specific fstab.postinstall file (installed to
+ # /product/etc/fstab.postinstall). If not overridden, the
+ # system/extras/cppreopts/fstab.postinstall file (installed to
+ # /system/etc/fstab.postinstall) will be used.
+ # Note: The default fstab.postinstall is generic and may be slower
+ # because it tries different mount options line by line to ensure
+ # compatibility across various devices.
#
# PRODUCT_PRODUCT_PROPERTIES += ro.postinstall.fstab.prefix=/product
#