]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r346545-r346546, r346680, r346700, r346705
authorkevans <kevans@FreeBSD.org>
Sun, 28 Apr 2019 03:49:40 +0000 (03:49 +0000)
committerkevans <kevans@FreeBSD.org>
Sun, 28 Apr 2019 03:49:40 +0000 (03:49 +0000)
commitcd4335aa41e03b46c6849d0cb38fc68afd7b7d3e
tree134c5a8330aa08ac15bac24d4368d000dbdbb708
parent9b002e6fde22cd125179f7f3326bfd4fe31f9ab0
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.
etc/mtree/BSD.tests.dist
lib/libbe/Makefile
lib/libbe/be.c
lib/libbe/be.h
lib/libbe/be_impl.h
lib/libbe/libbe.3
lib/libbe/tests/Makefile [new file with mode: 0644]
lib/libbe/tests/be_create.sh [new file with mode: 0755]
lib/libbe/tests/target_prog.c [new file with mode: 0644]