Instead of an ad-hoc list of directories to make install.
Need to get pkg to use uncompressed files still, with this change Cirrus-CI failed with:
sh tools/boot/ci-qemu-test.sh pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended Updating local repository catalogue... pkg: file:///usr/obj/tmp/cirrus-ci-build/repo/FreeBSD:13:amd64/latest/meta.txz: No such file or directory repository local has no meta file, using default settings pkg: file:///usr/obj/tmp/cirrus-ci-build/repo/FreeBSD:13:amd64/latest/packagesite.txz: No such file or directory Unable to update repository local Error updating repositories!
Not familiar with this script but the code looks ok to me.
To test better that we don't break pkg dependencies maybe omit FreeBSD-clibs as it should be installed as FreeBSD-runtime depends on it.
This would test that installing kernel+bootloader+runtime result in a bootable install in single user.