summaryrefslogtreecommitdiffstats
path: root/base/kernel-34/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'base/kernel-34/post-install')
-rw-r--r--base/kernel-34/post-install35
1 files changed, 0 insertions, 35 deletions
diff --git a/base/kernel-34/post-install b/base/kernel-34/post-install
deleted file mode 100644
index b0077efbb..000000000
--- a/base/kernel-34/post-install
+++ /dev/null
@@ -1,35 +0,0 @@
-version=2.6.34
-SCRIPT_VERSION="pakxe.3"
-SRC=/tmp/work
-WDIR=$SRC/nutyx-initrd
-ARCH=`uname -m`
-depmod $version
-if [ ! -d $SRC ]; then
- mkdir -p $SRC
-fi
-tar -C $SRC -xf /boot/nutyx-initrd.* || exit 1
-cp /root/bin/install-${SCRIPT_VERSION}.ash \
-$WDIR/rootfs/install/
-for i in $WDIR/rootfs/install/setup-install \
- $WDIR/rootfs/install/setup-mirroir
-do
- sed -i "s|#INSTALL#|install-$SCRIPT_VERSION.ash|" $i || exit 1
-done
-
-for i in setup-grub functions setup-main main.txt
-do
- sed -i "s|#VERSION#|$SCRIPT_VERSION|" $WDIR/rootfs/install/$i || exit 1
-done
-
-# Copie des modules kernels
-mkdir -p $WDIR/rootfs/lib/modules
-cp -a /lib/modules/${version} \
-$WDIR/rootfs/lib/modules/
-
-# Copie du script d'install
-cp /root/bin/install-${SCRIPT_VERSION}.ash $WDIR/rootfs/install/
-
-# Création de l'initrd
-sh $WDIR/script/mkinitrd $WDIR
-cp $WDIR/iso/isolinux/initrd /boot/nutyx-initrd
-rm -r $SRC