Browse Source

nfs-utils: fix NFS support, fix dependencies

Waldemar Brodkorb 3 months ago
parent
commit
3fd6555c91
3 changed files with 6 additions and 6 deletions
  1. 1 1
      adk/tools/pkgmaker.c
  2. 4 4
      package/nfs-utils/Makefile
  3. 1 1
      package/nfs-utils/files/nfsd.exports

+ 1 - 1
adk/tools/pkgmaker.c

@@ -838,7 +838,7 @@ int main() {
 				if (result == 1) {
 					val = strtok_r(hvalue, " ", &saveptr);
 					while (val != NULL) { 
-						fprintf(cfg, "\tselect ADK_KERNEL_%s\n", toupperstr(val));
+						fprintf(cfg, "\tselect ADK_LINUX_KERNEL_%s\n", toupperstr(val));
 						val = strtok_r(NULL, " ", &saveptr);
 					}
 				}

+ 4 - 4
package/nfs-utils/Makefile

@@ -9,8 +9,9 @@ PKG_RELEASE:=		1
 PKG_HASH:=		c0ae376ac056011ed0954deba2362d7d8193c653b500b68a543aec512cd2ecfa
 PKG_DESCR:=		network filesystem utilities
 PKG_SECTION:=		net/fs
-PKG_DEPENDS:=		keyutils libtirpc rpcbind
-PKG_BUILDDEP:=		keyutils libtirpc
+PKG_DEPENDS:=		keyutils libtirpc rpcbind libmount libuuid libevent sqlite
+PKG_DEPENDS+=		libncurses libblkid
+PKG_BUILDDEP:=		keyutils libtirpc util-linux libevent sqlite ncurses
 PKG_KDEPENDS:=		nfs-fs
 PKG_NEEDS:=		threads
 PKG_URL:=		http://sourceforge.net/projects/nfs
@@ -58,8 +59,7 @@ CONFIGURE_ARGS+=	--without-tcp-wrappers \
 			--with-rpcgen=internal \
 			--disable-caps \
 			--enable-tirpc \
-			--with-tirpcinclude=${STAGING_TARGET_DIR}/usr/include/tirpc \
-			--disable-uuid
+			--with-tirpcinclude=${STAGING_TARGET_DIR}/usr/include/tirpc
 
 nfs-utils-client-install:
 	${INSTALL_DIR} ${IDIR_NFS_UTILS_CLIENT}/sbin

+ 1 - 1
package/nfs-utils/files/nfsd.exports

@@ -1,6 +1,6 @@
 # on embedded devices with MTD you can _only_ export usb disks or sticks
 # for nfsv3
-#/media *(ro,no_root_squash,insecure,no_subtree_check,crossmnt)
+#/media *(ro,fsid=0,no_root_squash,insecure,no_subtree_check,crossmnt)
 # for nfsv4, do mount --bind /srv/music /nfs4/music and
 # set nfs_server_version 4 in /etc/rc.conf
 #/nfs4		hostname(rw,sync,fsid=0,crossmnt,no_subtree_check)