summaryrefslogtreecommitdiffstats
path: root/update_kernel
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-01-06 18:03:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-01-06 18:03:05 +0000
commit4a3cfc72e287db5d7c7741e5df5524e71bf89158 (patch)
tree81add34d58065e485b589cb21bd3f91bc2e7707e /update_kernel
parentdabe48195cab109ba9cb2bd179500ef481d53348 (diff)
downloaddrakx-backup-do-not-use-4a3cfc72e287db5d7c7741e5df5524e71bf89158.tar
drakx-backup-do-not-use-4a3cfc72e287db5d7c7741e5df5524e71bf89158.tar.gz
drakx-backup-do-not-use-4a3cfc72e287db5d7c7741e5df5524e71bf89158.tar.bz2
drakx-backup-do-not-use-4a3cfc72e287db5d7c7741e5df5524e71bf89158.tar.xz
drakx-backup-do-not-use-4a3cfc72e287db5d7c7741e5df5524e71bf89158.zip
- 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
Diffstat (limited to 'update_kernel')
-rwxr-xr-xupdate_kernel3
1 files changed, 1 insertions, 2 deletions
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