From 7a067232a0fe72907138086dce8d272d4b5455ea Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 1 Apr 2010 21:37:42 +0200 Subject: initrd, ajout du support nfs dans initrd, avec -o nolock comme option --- base/initrd/Pkgfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/base/initrd/Pkgfile b/base/initrd/Pkgfile index 0dc815c9e..8b5f98155 100644 --- a/base/initrd/Pkgfile +++ b/base/initrd/Pkgfile @@ -5,7 +5,7 @@ name=initrd version=2.6.33.1 -release=1 +release=2 _tools=06032010 _baseversion=2.6.33 SCRIPT_VERSION="2009.3" @@ -35,13 +35,18 @@ hamradio appletalk cxgb3 mlx4 sfc do rm -r $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX/kernel/drivers/net/$i done -for i in fat ntfs smbfs vfat ext4 +for i in fat ntfs smbfs vfat ext4 fs nfs nfs_common nfsd lockd do if [ -d lib/modules/${_baseversion}-NuTyX/kernel/fs/$i ]; then cp -a lib/modules/${_baseversion}-NuTyX/kernel/fs/$i \ $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX/kernel/fs/ fi done +if [ -d lib/modules/${_baseversion}-NuTyX/kernel/net/sunrpc ]; then + mkdir -p $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX/kernel/net/ + cp -a lib/modules/${_baseversion}-NuTyX/kernel/net/sunrpc \ + $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX/kernel/net/ +fi $WDIR/rootfs/sbin/depmod -b $WDIR/rootfs ${_baseversion}-NuTyX cp install-${SCRIPT_VERSION}.ash $WDIR/rootfs/root/ -- cgit v1.2.3-70-g09d2