diff options
author | Toomas Soome <tsoome@FreeBSD.org> | 2020-06-20 06:23:31 +0000 |
---|---|---|
committer | Toomas Soome <tsoome@FreeBSD.org> | 2020-06-20 06:23:31 +0000 |
commit | 3830659e99640001c09d26dfc0e1bbd77d919a62 (patch) | |
tree | c05db1c928b5f34c3b3027ccc6fef6cc7949423b /stand/userboot | |
parent | 830efe55395a27f0a72812b5a028e323ee3981a6 (diff) | |
download | src-3830659e99640001c09d26dfc0e1bbd77d919a62.tar.gz src-3830659e99640001c09d26dfc0e1bbd77d919a62.zip |
loader: create single zfs nextboot implementation
We should have nextboot feature implemented in libsa zfs code.
To get there, I have created zfs_nextboot() implementation based on
two sources, our current simple textual string based approach with added
structured boot label PAD structure from OpenZFS.
Secondly, all nvlist details are moved to separate source file and
restructured a bit. This is done to provide base support to add nvlist
add/update feature in followup updates.
And finally, the zfsboot/gptzfsboot disk access functions are swapped to use
libi386 and libsa.
Sponsored by: Netflix, Klara Inc.
Differential Revision: https://reviews.freebsd.org/D25324
Notes
Notes:
svn path=/head/; revision=362431
Diffstat (limited to 'stand/userboot')
-rw-r--r-- | stand/userboot/userboot/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stand/userboot/userboot/Makefile b/stand/userboot/userboot/Makefile index d8e71b9781d7..7a5462bf2723 100644 --- a/stand/userboot/userboot/Makefile +++ b/stand/userboot/userboot/Makefile @@ -34,6 +34,7 @@ SRCS+= vers.c CFLAGS+= -Wall CFLAGS+= -I${BOOTSRC}/userboot +CFLAGS+= -I${SYSDIR}/cddl/contrib/opensolaris/uts/common CWARNFLAGS.main.c += -Wno-implicit-function-declaration LDFLAGS+= -nostdlib -Wl,-Bsymbolic |