freebsd-src/lib/libbe
R. Christian McDonald 5086b6ec32
libbe: handle destroying/renaming temporary/bootonce boot environments
When a temporary/bootonce boot environment is renamed, we need to also
update the bootenv nvlist on-disk to reflect the new name. Additionally,
when a temporary/bootonce boot environment is destroyed, we also need to
clear out the on-disk state.

Reviewed by:	kevans
Approved by:	kp
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D43591
2024-01-29 10:07:49 -05:00
..
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
be.c libbe: handle destroying/renaming temporary/bootonce boot environments 2024-01-29 10:07:49 -05:00
be.h
be_access.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
be_error.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
be_impl.h libbe: handle destroying/renaming temporary/bootonce boot environments 2024-01-29 10:07:49 -05:00
be_info.c libbe: handle destroying/renaming temporary/bootonce boot environments 2024-01-29 10:07:49 -05:00
libbe.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00