diff options
author | 2025-01-19 17:55:04 -0800 | |
---|---|---|
committer | 2025-01-19 17:55:04 -0800 | |
commit | 74584022cc16f2746a1176639131f5f34befb5fa (patch) | |
tree | 4a4d3c5f03a6daa217344bcb43faa7905356dcd8 /scripts/gen_build_prop.py | |
parent | a46b9ffa031f0077f8d4339a9f838572733e06a2 (diff) | |
parent | fe6a78178a2d718352a1160ba67e78b344aa3a82 (diff) |
Merge "Update fstab.postinstall documentation in gen_build_prop.py" into main am: fe6a78178a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3451452
Change-Id: If3369de3c730f0c50266da9582f3cfb0880749ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'scripts/gen_build_prop.py')
-rw-r--r-- | scripts/gen_build_prop.py | 10 |
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 # |