]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r346545-r346546, r346680, r346700, r346705
authorKyle Evans <kevans@FreeBSD.org>
Sun, 28 Apr 2019 03:49:40 +0000 (03:49 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sun, 28 Apr 2019 03:49:40 +0000 (03:49 +0000)
commitf1ab1b71d6c92f4c96642e7ab90f9460ea6ec592
treef77c7cedb52577fc7fa4561ecf0787e7b0352910
parentc0826cde2727bb4f95b734a3447b139d563529ca
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]