scripts: simplify scripts, move rootfs rsync to the pre_build target