summaryrefslogtreecommitdiffstats
path: root/base/initrd
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-01 21:37:42 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-01 21:37:42 +0200
commit7a067232a0fe72907138086dce8d272d4b5455ea (patch)
tree7239e000ea638d1b877cf5db3c5e283d0c763803 /base/initrd
parent2878599a2581018edb9d990066538fe8aed37f6e (diff)
downloadnutyx-pakxe-7a067232a0fe72907138086dce8d272d4b5455ea.tar.gz
nutyx-pakxe-7a067232a0fe72907138086dce8d272d4b5455ea.tar.bz2
nutyx-pakxe-7a067232a0fe72907138086dce8d272d4b5455ea.tar.xz
nutyx-pakxe-7a067232a0fe72907138086dce8d272d4b5455ea.zip
initrd, ajout du support nfs dans initrd, avec -o nolock comme option
Diffstat (limited to 'base/initrd')
-rw-r--r--base/initrd/Pkgfile9
1 files 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/