From 19680f5f4fbd3b662f7ddcc6fadb828beac33f7b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 19 Dec 2000 23:35:43 +0000 Subject: adapt to new depmod (modutils) --- update_kernel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update_kernel') 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 -- cgit v1.2.1