diff --git a/vndk/tools/build_mixed b/vndk/tools/build_mixed index 06c5c71a7..96e282bd4 100755 --- a/vndk/tools/build_mixed +++ b/vndk/tools/build_mixed @@ -110,7 +110,7 @@ if [ -n "$DIST_DIR" ]; then mkdir -p "$DIST_DIR" || true fi # Archive all the device artifacts. -cp -R "$DEVICE_DIR"/* "$DIST_DIR" +rsync -av --exclude='logs' "$DEVICE_DIR"/* "$DIST_DIR" # Overwrite the image archive with the Mixed Build archive. OUT_ARCHIVE="$DIST_DIR"/"$(basename $DEVICE_ARCHIVE)" cp "$DEVICE_IMAGES_DIR"/mixed.zip "$OUT_ARCHIVE"