summaryrefslogtreecommitdiffstats
path: root/base/initrd
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-10-09 00:54:34 +0200
committertnut <thierryn1 at hispeed dot ch>2010-10-09 00:54:34 +0200
commit317b9be3374a9895d51addda8eb0a48f9c3f3779 (patch)
treea91605c3c307dd5a4b300f412b05c40d302b5d28 /base/initrd
parent1355089c2951160a3b54384337b6d9cb505cac01 (diff)
downloadnutyx-extra-317b9be3374a9895d51addda8eb0a48f9c3f3779.tar.gz
nutyx-extra-317b9be3374a9895d51addda8eb0a48f9c3f3779.tar.bz2
nutyx-extra-317b9be3374a9895d51addda8eb0a48f9c3f3779.tar.xz
nutyx-extra-317b9be3374a9895d51addda8eb0a48f9c3f3779.zip
suppresssion de initrd
Diffstat (limited to 'base/initrd')
-rw-r--r--base/initrd/.footprint2
-rw-r--r--base/initrd/.md5sum4
-rw-r--r--base/initrd/Pkgfile87
3 files changed, 0 insertions, 93 deletions
diff --git a/base/initrd/.footprint b/base/initrd/.footprint
deleted file mode 100644
index 71252fdde..000000000
--- a/base/initrd/.footprint
+++ /dev/null
@@ -1,2 +0,0 @@
-drwxr-xr-x root/root boot/
--rw-r--r-- root/root boot/nutyx-initrd
diff --git a/base/initrd/.md5sum b/base/initrd/.md5sum
deleted file mode 100644
index 793af2027..000000000
--- a/base/initrd/.md5sum
+++ /dev/null
@@ -1,4 +0,0 @@
-e7c8592fbbfd5e0331b5757460518ea0 install-attapu.ash
-a4983490f9a925471de35d09eac4a2b8 installtools-23092010.tar.gz
-aa93b30d8ddb2c1d6602fb534a034eb8 kernel%232.6.35.7-1.pkg.tar.xz
-13f5a820e2519d003063eea9b7fddfeb nutyx-initrd-extra-15092010.tar.bz2
diff --git a/base/initrd/Pkgfile b/base/initrd/Pkgfile
deleted file mode 100644
index 924b90997..000000000
--- a/base/initrd/Pkgfile
+++ /dev/null
@@ -1,87 +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
-version=2.6.35.7
-release=1
-_tools=23092010
-_extra=15092010
-_baseversion=2.6.35
-SCRIPT_VERSION="attapu"
-source=(http://nutyx.meticul.eu/install-${SCRIPT_VERSION}.ash\
- http://nutyx.meticul.eu/attapu/`uname -m`/release/kernel%23$version-1.pkg.tar.xz\
- http://nutyx.meticul.eu/files/nutyx-initrd-extra-${_extra}.tar.bz2
- http://nutyx.meticul.eu/files/installtools-${_tools}.tar.gz)
-build(){
-
-WDIR=$SRC/nutyx-initrd-2009
-
-# Mise à jour de la version
-for i in $WDIR/rootfs/install/setup-install \
- $WDIR/rootfs/install/setup-mirroir
-do
- sed -i "s|#INSTALL#|install-$SCRIPT_VERSION.ash|" $i
-done
-for i in setup-grub functions setup-main main.txt
-do
- sed -i "s|#VERSION#|$SCRIPT_VERSION|" $WDIR/rootfs/install/$i
-done
-# Copie des modules kernels
-mkdir -p $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX/kernel/{drivers,fs}
-cp -a lib/modules/${_baseversion}-NuTyX/kernel/crypto \
-$WDIR/rootfs/lib/modules/${_baseversion}-NuTyX/kernel/
-for i in ata block input ide hid message parport \
-serial misc net pcmcia scsi usb md rtc
-do
- if [ -d lib/modules/${_baseversion}-NuTyX/kernel/drivers/$i ]; then
- cp -a lib/modules/${_baseversion}-NuTyX/kernel/drivers/$i \
- $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX/kernel/drivers/
- fi
-done
-for i in wireless irda wan bonding \
-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 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
-rm $WDIR/rootfs/sbin/depmod
-cp install-${SCRIPT_VERSION}.ash $WDIR/rootfs/install/
-
-# Compression des modules
-cd $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX
-find . -name "*.ko" -exec gzip '{}' \;
-sed -i 's/\.ko/.ko.gz/g' modules.dep
-cd -
-
-# Compression des dossiers
-for i in sbin var lib usr opt etc
- do mksquashfs $WDIR/rootfs/$i $WDIR/rootfs/sqfs/$i
-done
-mkdir $WDIR/rootfs/libT
-for i in libc.so.6 ld-linux.so.2
- do mv $WDIR/rootfs/lib{,T}/$i
-done
-for i in sbin var lib usr opt
- do rm -r $WDIR/rootfs/$i
- mkdir $WDIR/rootfs/$i
-done
-rm -r $WDIR/rootfs/lib
-mv $WDIR/rootfs/lib{T,}
-sh $WDIR/script/mkinitrd $WDIR
-mkdir -p $PKG/boot
-cp $WDIR/iso/isolinux/initrd $PKG/boot/nutyx-initrd
-}