diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-04-11 22:12:02 +0200 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-04-11 22:12:02 +0200 |
commit | acae50e218c85b39600990fe9780a45d8c30e73d (patch) | |
tree | 2ba0c3ab5c7658f7439557186f80f7e04bd9f2ed /base/initrd-lts/Pkgfile | |
parent | 1b84b893077ebabd253b74d929c9d12f413bda57 (diff) | |
download | nutyx-extra-acae50e218c85b39600990fe9780a45d8c30e73d.tar.gz nutyx-extra-acae50e218c85b39600990fe9780a45d8c30e73d.tar.bz2 nutyx-extra-acae50e218c85b39600990fe9780a45d8c30e73d.tar.xz nutyx-extra-acae50e218c85b39600990fe9780a45d8c30e73d.zip |
maj initrd-lts#2.6.30.10-3, ajouts des dernières fonctionnalitées nfs, interface graphique, etc
Diffstat (limited to 'base/initrd-lts/Pkgfile')
-rw-r--r-- | base/initrd-lts/Pkgfile | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/base/initrd-lts/Pkgfile b/base/initrd-lts/Pkgfile index a39f03664..722cb1de7 100644 --- a/base/initrd-lts/Pkgfile +++ b/base/initrd-lts/Pkgfile @@ -5,13 +5,13 @@ name=initrd-lts version=2.6.30.10 -release=2 -_tools=29122009 -SCRIPT_VERSION="2009.2" +release=3 +_tools=04042010 +SCRIPT_VERSION="2009.3" source=() build(){ wget http://kiao.no-ip.info/NuTyX/tools/install-${SCRIPT_VERSION}.ash -wget http://kiao.no-ip.info/NuTyX/2009.2/`uname -m`/test/kernel-lts%23$version-2.pkg.tar.gz +wget http://kiao.no-ip.info/NuTyX/2009.3/`uname -m`/release/kernel-lts%23$version-2.pkg.tar.gz WDIR=$SRC/installtools tar xf kernel* mkdir -p $WDIR @@ -22,7 +22,7 @@ mkdir -p $WDIR/rootfs/lib/modules/$version/kernel/{drivers,fs} cp -a lib/modules/$version/kernel/crypto \ $WDIR/rootfs/lib/modules/$version/kernel/ for i in ata block input ide hid message parport \ -serial misc net pcmcia scsi usb md +serial misc net pcmcia scsi usb md rtc do if [ -d lib/modules/$version/kernel/drivers/$i ]; then cp -a lib/modules/$version/kernel/drivers/$i \ @@ -34,19 +34,22 @@ hamradio appletalk cxgb3 mlx4 sfc do rm -r $WDIR/rootfs/lib/modules/$version/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/$version/kernel/fs/$i ]; then cp -a lib/modules/$version/kernel/fs/$i \ $WDIR/rootfs/lib/modules/$version/kernel/fs/ fi done +if [ -d lib/modules/$version/kernel/net/sunrpc ]; then + mkdir -p $WDIR/rootfs/lib/modules/$version/kernel/net/ + cp -a lib/modules/$version/kernel/net/sunrpc \ + $WDIR/rootfs/lib/modules/$version/kernel/net/ +fi $WDIR/rootfs/sbin/depmod -b $WDIR/rootfs $version cp install-${SCRIPT_VERSION}.ash $WDIR/rootfs/root/ -sed -i "s/2009/${SCRIPT_VERSION}/g" $WDIR/rootfs/sbin/setup-install -sed -i "s/2009/${SCRIPT_VERSION}/g" $WDIR/rootfs/sbin/setup-mirroir - + # Compression des modules cd $WDIR/rootfs/lib/modules/$version find . -name "*.ko" -exec gzip '{}' \; |