[Bug 216829] NanoBSD "tools" relies on mkimg revision not present before -HEAD

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 5 17:04:34 UTC 2017


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

            Bug ID: 216829
           Summary: NanoBSD "tools" relies on mkimg revision not present
                    before -HEAD
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: karl at denninger.net

Created attachment 179650
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179650&action=edit
Patch to fix the missing "-a" flag on mkimg commands

/usr/src/tools/tools/nanobsd/embedded/common contains a series of sections that
use the "mkimg" command to make the disk image.  This command includes a switch
(-a) to make the active partition that is *not* present in other than -HEAD,
and thus the command fails.

A workaround is available by using mdconfig to mount the image after it is
built and set the active flag using gpart.  Patch attached to (1) delete the
missing "-a" flag from the mkimg command and (2) mount and image and use gpart
to set the active flag instead.

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


More information about the freebsd-bugs mailing list