diff options
author | Warner Losh <imp@FreeBSD.org> | 2024-02-12 18:44:32 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2024-02-12 18:44:32 +0000 |
commit | ac4847e6b0e9a4ab71c96826afadb06ae78e702a (patch) | |
tree | c21446c5ffdcd0753eb116af6fc403f8a8b1b8ff | |
parent | 9622dc05ae11b145f1602fd0bb1fd6509c074b00 (diff) | |
download | src-ac4847e6b0e9a4ab71c96826afadb06ae78e702a.tar.gz src-ac4847e6b0e9a4ab71c96826afadb06ae78e702a.zip |
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
-rw-r--r-- | rescue/rescue/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile index 0a8d142ef83a..de3dd8a64575 100644 --- a/rescue/rescue/Makefile +++ b/rescue/rescue/Makefile @@ -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 |