summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-12-19 23:35:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-12-19 23:35:43 +0000
commit19680f5f4fbd3b662f7ddcc6fadb828beac33f7b (patch)
treec3793e01b4dcf5e50a3773a12de60a60e491a887
parent42b93da99ebd1252ee84b8a896b65990a604b280 (diff)
downloaddrakx-backup-do-not-use-19680f5f4fbd3b662f7ddcc6fadb828beac33f7b.tar
drakx-backup-do-not-use-19680f5f4fbd3b662f7ddcc6fadb828beac33f7b.tar.gz
drakx-backup-do-not-use-19680f5f4fbd3b662f7ddcc6fadb828beac33f7b.tar.bz2
drakx-backup-do-not-use-19680f5f4fbd3b662f7ddcc6fadb828beac33f7b.tar.xz
drakx-backup-do-not-use-19680f5f4fbd3b662f7ddcc6fadb828beac33f7b.zip
adapt to new depmod (modutils)
-rwxr-xr-xupdate_kernel2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_kernel b/update_kernel
index b5b8bec6e..97ad4e34f 100755
--- a/update_kernel
+++ b/update_kernel
@@ -42,7 +42,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"` .
- /sbin/depmod -m ../System.map -i -e *.o | perl -pe 's/\\\n//' | perl -ne 's/\.o//g; s/[ \t]+/ /g; print if /: /' > modules.dep
+ /sbin/depmod -F ../System.map -e *.o | perl -pe 's/\\\n//' | perl -ne 's/\.o//g; s/[ \t]+/ /g; print if /: /' > modules.dep
perl -pi -e 's/((plip|ppa|imm): parport)/$1 parport_pc/' modules.dep
ls *.o | packdrake -b9s modules.cz 400000
ls *.o | cpio --quiet -H crc -o | bzip2 -9> modules.cpio.bz2