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 6 SRCDIRS external/cddl/osnet/sbin 7 PROG sbin/zfs 8 PROG sbin/zpool 9 LINK sbin/zfs sbin/mount_zfs 10 ARGVLN zfs mount_zfs 11 12 # We need sysctl to set init.root=/altroot 13 PROG sbin/sysctl 14 15 # We need modload as we cannot build CDDL modules in the kernel 16 PROG sbin/modload 17 PROG sbin/modunload 18 PROG sbin/modstat 19 20 LIBS -lnvpair 21 LIBS -luutil 22 LIBS -lzfs 23 LIBS -lavl 24 LIBS -lm 25 LIBS -lpthread 26 LIBS -lumem 27 #LIBS -lutil # replaced by libhack 28 LIBS -lz 29 LIBS -lzfs_core 30 31 COPY ${NETBSDSRCDIR}/distrib/common/zfsroot.rc etc/rc 32 33 # Make modules and firmware images available 34 SYMLINK altroot/stand stand 35 SYMLINK altroot/libdata libdata 36