genrootfs data flow is done, needs refactor