add rostree_main.cpp