librt: Chase 315ee00fa9, fixing boot

libzfs uses librt as a dependency. Following 315ee00fa9 systems with
a separate / and /usr will fail to load the libzfs.so library because
librt.so is not available due to the fact that /usr is not mounted yet.
Install librt in /lib making it available to libzfs.

Reported by:		emaste, imp
Fixes:			315ee00fa9
Differential Revision:	https://reviews.freebsd.org/D41612
This commit is contained in:
Cy Schubert 2023-08-27 20:02:17 -07:00
parent d4b3aefdf9
commit f006023b22
2 changed files with 4 additions and 0 deletions

View file

@ -51,6 +51,9 @@
# xargs -n1 | sort | uniq -d;
# done
# 20230828
MOVED_LIBS+=usr/lib/librt.so.1
# 20230826:
OLD_FILES+=usr/share/man/man9/knlist_remove_inevent.9.gz

View file

@ -3,6 +3,7 @@
PACKAGE=clibs
LIB=rt
SHLIBDIR=/lib
SHLIB_MAJOR= 1
CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}
.ifndef NO_THREAD_STACK_UNWIND