[Bug 236125] /sbin/geom cannot work anymore when world is build WITHOUT_DYNAMICROOT

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 1 19:51:54 UTC 2019


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

Brooks Davis <brooks at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brooks at FreeBSD.org

--- Comment #1 from Brooks Davis <brooks at FreeBSD.org> ---
geom(8) is really not designed for static compilation.  We should probably at a
minimum alter sbin/geom/Makefile to embed gpart and glabel in the binary when
WITHOUT_DYNAMICROOT is defined.  That should be as simple as changing the line
mentioning RESCUE to:

.if defined(RESCUE) || defined(RELEASE_CRUNCH) || ${MK_DYNAMICROOT} == "no"

and altering the LINKS value to in the MK_DYNAMICROOT=no case.

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


More information about the freebsd-bugs mailing list