[Bug 255639] [nanobsd] "missing directory in specification" while building disk image

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 5 22:05:13 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255639

            Bug ID: 255639
           Summary: [nanobsd] "missing directory in specification" while
                    building disk image
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs at FreeBSD.org
          Reporter: ulzeraj at me.com

Created attachment 224711
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224711&action=edit
Add missing files to metalog.

Hello.

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list