The peace deal grants some autonomy to the south and requires local leaders and Khartoum to share oil wealth .