envsetup: Make dopush() /system_ext aware

Change-Id: Iee4b1fea656f2fd0262cde4f5a634ec95dd6dab8
This commit is contained in:
Bruno Martins 2021-04-30 23:10:45 +01:00
parent 4280154049
commit 9b70f838e9

View File

@ -854,9 +854,9 @@ EOF
stop_n_start=false
for TARGET in $(echo $LOC | tr " " "\n" | sed "s#.*${RELOUT}##" | sort | uniq); do
# Make sure file is in $OUT/system, $OUT/data, $OUT/odm, $OUT/oem, $OUT/product, $OUT/product_services or $OUT/vendor
# Make sure file is in $OUT/{system,system_ext,data,odm,oem,product,product_services,vendor}
case $TARGET in
/system/*|/data/*|/odm/*|/oem/*|/product/*|/product_services/*|/vendor/*)
/system/*|/system_ext/*|/data/*|/odm/*|/oem/*|/product/*|/product_services/*|/vendor/*)
# Get out file from target (i.e. /system/bin/adb)
FILE=$OUT$TARGET
;;