vendor: make dopush recognize files on more partitions

Change-Id: Ied1a243730df1d683fd237f8ea7bd9b1742db105
Signed-off-by: Roman Birg <romanbirg@gmail.com>
This commit is contained in:
Roman Birg
2018-03-28 09:47:30 -07:00
committed by Sam Mortimer
parent c386595e0c
commit d51094ce3b

View File

@@ -887,9 +887,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 or $OUT/data
# Make sure file is in $OUT/system, $OUT/data, $OUT/odm, $OUT/oem, $OUT/product, $OUT/product_services or $OUT/vendor
case $TARGET in
/system/*|/data/*)
/system/*|/data/*|/odm/*|/oem/*|/product/*|/product_services/*|/vendor/*)
# Get out file from target (i.e. /system/bin/adb)
FILE=$OUT$TARGET
;;