General Motors and Hyundai will ink a deal in the coming months.