Created attachment 224711 [details]
Add missing files to metalog.
I've been trying to build a NanoBSD image using releng/13.0 and the process fails during the image creation step complaining about directories that are not included in the metalog.
I'm using the provided tools/tools/nanobsd/embedded/qemu-amd64-uefi.cfg without any modification.
Here is the relevant bit of the /usr/embedded/qemu-amd64-uefi/_.di log:
+ eval 'makefs -t ffs -B little' -F /usr/embedded/obj/_.metalog /usr/embedded/qemu-amd64-uefi/_.s3 /usr/embedded/qemu-amd64-uefi/_.w
+ makefs -t ffs -B little -F /usr/embedded/obj/_.metalog /usr/embedded/qemu-amd64-uefi/_.s3 /usr/embedded/qemu-amd64-uefi/_.w
makefs: ./etc/ssl/blacklisted: missing directory in specification
Apparently these directories are not added to /usr/embedded/obj/_.metalog during the nanobsd.sh process.
I was able to complete these step by adding ./etc/ssl/blacklisted and ./etc/ssl/certs into the fix_pkg function in tools/tools/nanobsd/embedded/common.