Former Sudanese president Bashir to face two years in detention