diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-04-15 21:31:11 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-04-15 21:31:11 +0000 |
commit | 9cdb9f0d0ea484f8454be24d94a4e179138c70b8 (patch) | |
tree | e8fef59b2d476a8aba48a1edf828888ec9e87df6 /update_kernel | |
parent | fb2657dc463c4f3053ba243654aa1271ffa4588c (diff) | |
download | drakx-backup-do-not-use-9cdb9f0d0ea484f8454be24d94a4e179138c70b8.tar drakx-backup-do-not-use-9cdb9f0d0ea484f8454be24d94a4e179138c70b8.tar.gz drakx-backup-do-not-use-9cdb9f0d0ea484f8454be24d94a4e179138c70b8.tar.bz2 drakx-backup-do-not-use-9cdb9f0d0ea484f8454be24d94a4e179138c70b8.tar.xz drakx-backup-do-not-use-9cdb9f0d0ea484f8454be24d94a4e179138c70b8.zip |
no_comment
Diffstat (limited to 'update_kernel')
-rwxr-xr-x | update_kernel | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update_kernel b/update_kernel index ecb26bec1..7feb8ff32 100755 --- a/update_kernel +++ b/update_kernel @@ -40,7 +40,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 | grep ': ' | sed 's/\.o//g' > modules.dep + /sbin/depmod -m ../System.map -i -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 | build_archive modules.cz2 400000 ls *.o | cpio --quiet -H crc -o | bzip2 -9> modules.cpio.bz2 |