| #
f1ab1b71 |
| 28-Apr-2019 |
Kyle Evans <[email protected]> |
MFC r346545-r346546, r346680, r346700, r346705
r346545: libbe(3): allow creation of arbitrary depth boot environments
libbe currently only provides an API to create a recursive boot environment, wi
MFC r346545-r346546, r346680, r346700, r346705
r346545: libbe(3): allow creation of arbitrary depth boot environments
libbe currently only provides an API to create a recursive boot environment, without any formal support for intentionally limiting the depth. This changeset adds an API, be_create_depth, that may be used to arbitrarily restrict the depth of the new BE.
r346546: libbe(3): Add a test for be creation
r346680: libbe(3): Copy received properties as well
This was inherently broken on send|recv datasets.
r346700: libbe(3): Fix mis-application of patch (SHLIBDIR)
Rob's patch in D18564 cemented the SHLIBDIR because bsd.own.mk (included by src.opts.mk) sets it to /usr/lib. r346546 did somehow not apply this part of the patch, leaving it to get installed to the wrong place and subsequently removed via ObsoleteFiles.
r346705: libbe(3): Fix libcompat build
SHLIBDIR should still be optionally set, just before src.opts.mk is included so that libcompat can properly override it. This fixes lib32 failures reported by both Jenkins and Michael Butler.
show more ...
|
| #
8369ba42 |
| 24-Aug-2018 |
Kyle Evans <[email protected]> |
libbe(3)/bectl(8): Make consistent with beadm
vermaden (maintainer of beadm) points out the following inconsistencies: - "missing command" is not printed prior to usage if the error is simply a m
libbe(3)/bectl(8): Make consistent with beadm
vermaden (maintainer of beadm) points out the following inconsistencies: - "missing command" is not printed prior to usage if the error is simply a missing command; this should be obvious from the context - "bectl rename" isn't using the "don't unmount" flag (zfs rename -u), so the active BE can't be renamed. It doesn't make sense in our context to *not* use -u, so use it.
Documentation updates reflect the above and note an inconsistency with the 'destroy' command that is consistent with other parts of the base system.
A fix for libbe(3) not properly being installed to /lib is included. SHLIBDIR should have been added when it was moved in r337995.
Approved by: re (kib)
show more ...
|
| #
7920ad94 |
| 18-Aug-2018 |
Kyle Evans <[email protected]> |
libbe(3): Move build goop back out of cddl/
Some background: in the GSoC project, libbe/Makefile lived in lib/libbe. I created projects/bectl branch, maintained the above for all of five minutes bef
libbe(3): Move build goop back out of cddl/
Some background: in the GSoC project, libbe/Makefile lived in lib/libbe. I created projects/bectl branch, maintained the above for all of five minutes before I misread Makefile.inc1 and decided that it couldn't possibly build outside of cddl/, so I kicked the Makefile out into the cddl/ build and all was good. The misreading was of the bit where .WAIT is added to SUBDIR after lib, libexec but prior to building bin and cddl *only during the install targets*, which is the critical part.
Fast forward- buildworld was still broken in my branch unbeknownst to me because I didn't nuke my OBJDIR. Combing through Makefile.inc1 eventually revealed the necessary magic to make sure that libbe's dependencies are specified well enough, and it becomes clear what needs done to make a non-cddl/ build work. This is an interesting prospect, because the build split is kind of annoying to work with.
IGNORE_PRAGMA is added to avoid dropping WARNS by one more. This was previously pulled in via cddl/Makefile.inc.
show more ...
|