rescue: belatedly add zfsbootcfg

nextboot.sh uses zfsbootcfg to enable nextboot functionality for ZFS,
but zfsbootcfg was never added. Add it now since the nextboot binary
that replaced the script also uses it via system.

Sponsored by:		Netflix
Reviewed by:		kevans, kib, emaste
Differential Revision:	https://reviews.freebsd.org/D43844
This commit is contained in:
Warner Losh 2024-02-12 11:44:32 -07:00
parent 9622dc05ae
commit ac4847e6b0

View file

@ -133,6 +133,7 @@ CRUNCH_PROGS_sbin+= routed rtquery
.if ${MK_ZFS} != "no"
CRUNCH_PROGS_sbin+= bectl
CRUNCH_PROGS_sbin+= zfs
CRUNCH_PROGS_sbin+= zfsbootcfg
CRUNCH_PROGS_sbin+= zpool
CRUNCH_PROGS_usr.sbin+= zdb
.endif
@ -154,6 +155,7 @@ CRUNCH_LIBS_zfs+= ${LIBBE} \
CRUNCH_LIBS_bectl+= ${CRUNCH_LIBS_zfs}
CRUNCH_LIBS_zpool+= ${CRUNCH_LIBS_zfs}
CRUNCH_LIBS_zdb+= ${CRUNCH_LIBS_zfs} ${LIBZDB}
CRUNCH_LIBS_zfsbootcfg+=${LIBZFSBOOTENV}
.else
# liblzma needs pthread
CRUNCH_LIBS+= -lpthread