summaryrefslogtreecommitdiffstats
path: root/base/initrd-lts/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-10-09 00:55:34 +0200
committertnut <thierryn1 at hispeed dot ch>2010-10-09 00:55:34 +0200
commitc356e88b1984acc10ead75a64d7821c60fb9428a (patch)
tree9246101290c68c648d6ec5a4ec4b1049e802cb43 /base/initrd-lts/Pkgfile
parent67f5633878260a3074b35f03c9260d3cf03de586 (diff)
downloadnutyx-pakxe-c356e88b1984acc10ead75a64d7821c60fb9428a.tar.gz
nutyx-pakxe-c356e88b1984acc10ead75a64d7821c60fb9428a.tar.bz2
nutyx-pakxe-c356e88b1984acc10ead75a64d7821c60fb9428a.tar.xz
nutyx-pakxe-c356e88b1984acc10ead75a64d7821c60fb9428a.zip
suppression de initrd-lts
Diffstat (limited to 'base/initrd-lts/Pkgfile')
-rw-r--r--base/initrd-lts/Pkgfile63
1 files changed, 0 insertions, 63 deletions
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
-}