From c356e88b1984acc10ead75a64d7821c60fb9428a Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 9 Oct 2010 00:55:34 +0200 Subject: suppression de initrd-lts --- base/initrd-lts/Pkgfile | 63 ------------------------------------------------- 1 file changed, 63 deletions(-) delete mode 100644 base/initrd-lts/Pkgfile (limited to 'base/initrd-lts/Pkgfile') diff --git a/base/initrd-lts/Pkgfile b/base/initrd-lts/Pkgfile deleted file mode 100644 index cad8ddfa2..000000000 --- a/base/initrd-lts/Pkgfile +++ /dev/null @@ -1,63 +0,0 @@ -# Description: L'initrd avec le système de maintenance -# URL: http://www.kernel.org -# Maintainer: NuTyX core team -# Packager: thierryn1 at hispeed dot ch - -name=initrd-lts -version=2.6.30.10 -release=4 -_tools=03062010 -SCRIPT_VERSION="attapu" -source=() -build(){ -wget http://kiao.no-ip.info/NuTyX/tools/install-${SCRIPT_VERSION}.ash -wget http://kiao.no-ip.info/NuTyX/attapu/`uname -m`/release/kernel-lts%23$version-2.pkg.tar.gz -WDIR=$SRC/installtools -tar xf kernel* -mkdir -p $WDIR -wget http://kiao.no-ip.info/NuTyX/tools/installtools-${_tools}.tar.gz -tar -C $WDIR --use-compress-program=gzip -xf installtools-${_tools}.tar.gz - -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 rtc -do - if [ -d lib/modules/$version/kernel/drivers/$i ]; then - cp -a lib/modules/$version/kernel/drivers/$i \ - $WDIR/rootfs/lib/modules/$version/kernel/drivers/ - fi -done -for i in wireless irda wan bonding \ -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 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/ - -# Compression des modules -cd $WDIR/rootfs/lib/modules/$version -find . -name "*.ko" -exec gzip '{}' \; -sed -i 's/\.ko/.ko.gz/g' modules.dep -cd - -sed -i "s/#version#/$version/" $WDIR/iso/isolinux/boot.msg -cp boot/kernel-$version $WDIR/iso/isolinux/kernel -sh $WDIR/script/mkinitrd $WDIR -mkdir -p $PKG/boot -cp $WDIR/iso/isolinux/initrd $PKG/boot/nutyx-initrd -} -- cgit v1.2.3-70-g09d2