Bosch has agreed to sell its packaging machinery division to private equity firm CVC Capital Partners for an undisclosed sum.