summaryrefslogtreecommitdiffstats
path: root/update_kernel
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>1999-11-07 19:14:26 +0000
committerFrancois Pons <fpons@mandriva.com>1999-11-07 19:14:26 +0000
commit5fe426f2d1024c2a73791ffdafc2404bfccb8736 (patch)
tree78086e10a885260845b33785663530503a13d104 /update_kernel
parentfe9d92c84e2888c470a72d903b78f74288c84a9b (diff)
downloaddrakx-backup-do-not-use-5fe426f2d1024c2a73791ffdafc2404bfccb8736.tar
drakx-backup-do-not-use-5fe426f2d1024c2a73791ffdafc2404bfccb8736.tar.gz
drakx-backup-do-not-use-5fe426f2d1024c2a73791ffdafc2404bfccb8736.tar.bz2
drakx-backup-do-not-use-5fe426f2d1024c2a73791ffdafc2404bfccb8736.tar.xz
drakx-backup-do-not-use-5fe426f2d1024c2a73791ffdafc2404bfccb8736.zip
*** empty log message ***
Diffstat (limited to 'update_kernel')
-rwxr-xr-xupdate_kernel3
1 files changed, 3 insertions, 0 deletions
diff --git a/update_kernel b/update_kernel
index 447931df2..a735830bf 100755
--- a/update_kernel
+++ b/update_kernel
@@ -48,6 +48,7 @@ MISCMODULES="lp.o parport_pc.o parport.o loop.o"
FSMODULES="vfat.o fat.o"
NETWORK_MODULES="$MISCMODULES $FSMODULES $NETWORK_DRIVERS"
+LOCAL_MODULES="$MISCMODULES $FSMODULES $SCSI_DRIVERS $CD_DRIVERS $BLOCK_DRIVERS isofs.o"
CDROM_MODULES="$MISCMODULES $FSMODULES $SCSI_DRIVERS $CD_DRIVERS isofs.o"
HD_MODULES="$MISCMODULES $FSMODULES $SCSI_DRIVERS $BLOCK_DRIVERS"
PCMCIA_MODULES="$PCMCIA_DRIVERS $MISCMODULES $FSMODULES"
@@ -68,8 +69,10 @@ rm -rf install_pcmcia_modules ; install -d install_pcmcia_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 | ../perl-install/build_archive modules 400000
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
+ ls $LOCAL_MODULES | cpio --quiet -H crc -o | gzip -9 > local_modules.cgz
ls $CDROM_MODULES | cpio --quiet -H crc -o | gzip -9 > cdrom_modules.cgz
ls $HD_MODULES | cpio --quiet -H crc -o | gzip -9 > hd_modules.cgz
ls $PCMCIA_MODULES | cpio --quiet -H crc -o | gzip -9 > pcmcia_modules.cgz