summaryrefslogtreecommitdiffstats
path: root/update_kernel
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-04-02 14:22:03 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-04-02 14:22:03 +0000
commitf9e053632628137665b2549494924770a2363ea4 (patch)
treeb2e4e872fc7d281dabeec64ae4e07ede4a59d093 /update_kernel
parent7570b18e9e9aa0997ca64bfbf3c450770c0ff49c (diff)
downloaddrakx-f9e053632628137665b2549494924770a2363ea4.tar
drakx-f9e053632628137665b2549494924770a2363ea4.tar.gz
drakx-f9e053632628137665b2549494924770a2363ea4.tar.bz2
drakx-f9e053632628137665b2549494924770a2363ea4.tar.xz
drakx-f9e053632628137665b2549494924770a2363ea4.zip
change a bit because packdrake seems to parse the filename in some cases
Diffstat (limited to 'update_kernel')
-rwxr-xr-xupdate_kernel3
1 files changed, 2 insertions, 1 deletions
diff --git a/update_kernel b/update_kernel
index 242452a8e..bff761ca1 100755
--- a/update_kernel
+++ b/update_kernel
@@ -32,7 +32,8 @@ function create_modules() {
/sbin/depmod -F $kernel_path/boot/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-$kern" 400000
+ ls *.o | packdrake -b9s "modules.cz" 400000
+ mv modules.cz ../modules.cz-$kern
create_marfile network_modules.mar $NETWORK_MODULES $GENERIC_MODULES
create_marfile cdrom_modules.mar $CDROM_MODULES $GENERIC_MODULES
create_marfile hd_modules.mar $HD_MODULES $GENERIC_MODULES