move the rm to the ebuild