Adapting mkrootfs to new root process