xref: /netbsd-src/distrib/common/list.zfsroot (revision 896ddeb466e819b3cd490950f66b2b1e34faed6e)
1#	$NetBSD: list.zfsroot,v 1.2 2020/02/23 05:15:54 roy Exp $
2#
3# list file (c.f. parselist.awk) for ZFS on root.
4#
5
6SRCDIRS	external/cddl/osnet/sbin
7PROG	sbin/zfs
8PROG	sbin/zpool
9LINK	sbin/zfs sbin/mount_zfs
10ARGVLN	zfs mount_zfs
11
12# We need sysctl to set init.root=/altroot
13PROG	sbin/sysctl
14
15# We need modload as we cannot build CDDL modules in the kernel
16PROG	sbin/modload
17PROG	sbin/modunload
18PROG	sbin/modstat
19
20LIBS	-lnvpair
21LIBS	-luutil
22LIBS	-lzfs
23LIBS	-lavl
24LIBS	-lm
25LIBS	-lpthread
26LIBS	-lumem
27#LIBS	-lutil		# replaced by libhack
28LIBS	-lz
29LIBS	-lzfs_core
30
31COPY	${NETBSDSRCDIR}/distrib/common/zfsroot.rc etc/rc
32
33# Make modules and firmware images available
34SYMLINK	altroot/stand stand
35SYMLINK	altroot/libdata libdata
36