US retail giant Wal-Mart Stores has announced that it has entered into an agreement for the sale of grocery distributor McLane, a wholly owned subsidiary of Wal-Mart, to holding company Berkshire Hathaway.