This patch allows us to run the ci-buildworld and ci-buildkernel targets
as NON_ROOT.
In the future, when we are able to build a release image as NON_ROOT,
this can be further improved by removing SU_CMD from the ci-buildimage
target.
This also implements the following minor fixes:
- Add a .WAIT directive before ci-extractmeta to avoid racing with the ci-runtest target. This fixes the issue where ci-extractmeta runs immediately upon running 'make ci'
- Cleanup as many temporary files as possible after they are no longer needed.
Signed-off-by: Siva Mahadevan <me@svmhdvn.name>
Sponsored by: The FreeBSD Foundation