From 4a3cfc72e287db5d7c7741e5df5524e71bf89158 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 6 Jan 2001 18:03:05 +0000 Subject: - use $(ls $*) instead of $* before giving args to mar otherwise mar stops on missing files, which is no good. - do not generate modules.cpio.bz2 any more, it is unsused and deprecated by modules.cz --- update_kernel | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'update_kernel') diff --git a/update_kernel b/update_kernel index dffa17b56..c19223435 100755 --- a/update_kernel +++ b/update_kernel @@ -20,7 +20,7 @@ function create_marfile() { && echo "WARNING! in $marfile, $k is missing (required by $i)" done done - ../mdk-stage1/mar/mar -c $marfile $* + ../mdk-stage1/mar/mar -c $marfile $(ls $*) } @@ -63,7 +63,6 @@ rm -rf modules ; install -d modules /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 create_marfile network_modules.mar $NETWORK_MODULES create_marfile cdrom_modules.mar $CDROM_MODULES create_marfile hd_modules.mar $HD_MODULES -- cgit v1.2.1