summaryrefslogtreecommitdiffstats
path: root/base/initrd
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-09 22:43:10 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-09 22:43:10 +0100
commit17472c248cc225f3abe3b8aac1a740ef806c6eb9 (patch)
tree1a94850295de0288812f2083968bb192d67e6fbe /base/initrd
parent0810fc1ead85cadc2fb6eceab0296336768973f9 (diff)
downloadnutyx-pakxe-17472c248cc225f3abe3b8aac1a740ef806c6eb9.tar.gz
nutyx-pakxe-17472c248cc225f3abe3b8aac1a740ef806c6eb9.tar.bz2
nutyx-pakxe-17472c248cc225f3abe3b8aac1a740ef806c6eb9.tar.xz
nutyx-pakxe-17472c248cc225f3abe3b8aac1a740ef806c6eb9.zip
Maj initrd#2.6.32.8-1
Diffstat (limited to 'base/initrd')
-rw-r--r--base/initrd/Pkgfile27
1 files changed, 14 insertions, 13 deletions
diff --git a/base/initrd/Pkgfile b/base/initrd/Pkgfile
index ac5a2399b..a002e258b 100644
--- a/base/initrd/Pkgfile
+++ b/base/initrd/Pkgfile
@@ -4,9 +4,10 @@
# Packager: thierryn1 at hispeed dot ch
name=initrd
-version=2.6.32.7
+version=2.6.32.8
release=1
_tools=29122009
+_baseversion=2.6.32
SCRIPT_VERSION="2009.2"
source=()
build(){
@@ -18,37 +19,37 @@ 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/
+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
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/
+ 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/$version/kernel/drivers/net/$i
+ rm -r $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX/kernel/drivers/net/$i
done
for i in fat ntfs smbfs vfat ext4
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/
+ 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
-$WDIR/rootfs/sbin/depmod -b $WDIR/rootfs $version
+$WDIR/rootfs/sbin/depmod -b $WDIR/rootfs ${_baseversion}-NuTyX
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
+cd $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX
find . -name "*.ko" -exec gzip '{}' \;
sed -i 's/\.ko/.ko.gz/g' modules.dep
cd -