summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.inc12
-rwxr-xr-xetc/rc.d/zvol2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index b1fb79f..3faaece 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1153,6 +1153,7 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} ${_kerberos5_lib_libheimntlm} \
lib/ncurses/ncurses lib/ncurses/ncursesw \
lib/libopie lib/libpam ${_lib_libthr} \
lib/libradius lib/libsbuf lib/libtacplus \
+ ${_cddl_lib_libumem} \
lib/libutil ${_lib_libypclnt} lib/libz lib/msun \
${_secure_lib_libcrypto} ${_secure_lib_libssh} \
${_secure_lib_libssl}
@@ -1166,6 +1167,7 @@ _generic_libs= ${_cddl_lib} gnu/lib ${_kerberos5_lib} lib ${_secure_lib} usr.bin
lib/libopie__L lib/libtacplus__L: lib/libmd__L
.if ${MK_CDDL} != "no"
+_cddl_lib_libumem= cddl/lib/libumem
_cddl_lib= cddl/lib
.endif
diff --git a/etc/rc.d/zvol b/etc/rc.d/zvol
index 62c9015..b52f4ce 100755
--- a/etc/rc.d/zvol
+++ b/etc/rc.d/zvol
@@ -17,7 +17,6 @@ required_modules="zfs"
zvol_start()
{
- zfs volinit
# Enable swap on ZVOLs with property org.freebsd:swap=on.
zfs list -H -o org.freebsd:swap,name -t volume | \
while read state name; do
@@ -40,7 +39,6 @@ zvol_stop()
;;
esac
done
- zfs volfini
}
load_rc_config $name
OpenPOWER on IntegriCloud