Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 May 2021 22:05:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255639] [nanobsd] "missing directory in specification" while building disk image
Message-ID:  <bug-255639-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255639

            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@FreeBSD.org
          Reporter: ulzeraj@me.com

Created attachment 224711
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224711&action=
=3Dedit
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.=20

I'm using the provided tools/tools/nanobsd/embedded/qemu-amd64-uefi.cfg wit=
hout
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255639-227>