summaryrefslogtreecommitdiffstats
path: root/update_kernel
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-28 12:56:26 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-28 12:56:26 +0000
commit5fd046ac65b74d9b9b5c18bbb9579329f4036c49 (patch)
tree7787538c42e634c8e9935866048bfcfb282a7ef8 /update_kernel
parentf902492a01c974283c9c800ddbd5de651c474c25 (diff)
downloaddrakx-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.tar
drakx-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.tar.gz
drakx-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.tar.bz2
drakx-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.tar.xz
drakx-5fd046ac65b74d9b9b5c18bbb9579329f4036c49.zip
no_comment
Diffstat (limited to 'update_kernel')
-rwxr-xr-xupdate_kernel4
1 files changed, 3 insertions, 1 deletions
diff --git a/update_kernel b/update_kernel
index 9a339f688..5ef12ae01 100755
--- a/update_kernel
+++ b/update_kernel
@@ -1,6 +1,6 @@
#!/bin/bash
-KERNEL_BOOT_PATH="kernel-2.2.13BOOTchou5"
+KERNEL_BOOT_PATH="kernel"
SCSI_DRIVERS="
53c7,8xx.o AM53C974.o BusLogic.o NCR53c406a.o advansys.o aha152x.o
@@ -54,6 +54,7 @@ PCMCIA_MODULES="$PCMCIA_DRIVERS $MISCMODULES $FSMODULES"
PCMCIA_INSTALLMODULES="pcmcia_core.o tcic.o ds.o i82365.o"
+PRISTINE_MODULES="serial.o"
cp -f "$KERNEL_BOOT_PATH"/boot/vmlinuz* vmlinuz
cp -f "$KERNEL_BOOT_PATH"/boot/System.map* System.map
@@ -64,6 +65,7 @@ cp -f "$KERNEL_BOOT_PATH"/boot/System.map* System.map
rm -rf modules ; install -d modules
(cd modules ;
cp -f `find ../"$KERNEL_BOOT_PATH"/lib/modules/ -name "*.o"` .
+ mkdir pristine ; cp $PRISTINE_MODULES pristine
/sbin/depmod -m ../System.map -i -e *.o | grep ': ' | sed 's/\.o//g' > modules.dep
ls *.o | cpio --quiet -H crc -o | bzip2 -9> modules.cpio.bz2
ls $NETWORK_MODULES | cpio --quiet -H crc -o | gzip -9 > network_modules.cgz