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@FreeBSD.org
          Reporter: k...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to