The HR function in prepare for a leadership vacuum

With baby boomers retiring now and over the next decade, what should the HR function in firms be doing to prepare for a leadership vacuum?
What potential problems do you see these firms encountering?