Default [Q] Build rooted system.img

Hello

I am building succesfully system.img for my android device
however , I would like to build a "rooted" version

which files do I need to change in order to obtain that?

thank you