summaryrefslogtreecommitdiffstats
path: root/kernel/update_kernel
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-29 17:01:02 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-29 17:01:02 +0000
commit3517639ec3af9a6480137c3b54bbc99cf6cbccad (patch)
tree73c4530e4ae27b200a38e45d04f392bc8ffaa56c /kernel/update_kernel
parentb9c86e95ba0bc706b3c4f49ec8c88b3659888261 (diff)
downloaddrakx-3517639ec3af9a6480137c3b54bbc99cf6cbccad.tar
drakx-3517639ec3af9a6480137c3b54bbc99cf6cbccad.tar.gz
drakx-3517639ec3af9a6480137c3b54bbc99cf6cbccad.tar.bz2
drakx-3517639ec3af9a6480137c3b54bbc99cf6cbccad.tar.xz
drakx-3517639ec3af9a6480137c3b54bbc99cf6cbccad.zip
fix
Diffstat (limited to 'kernel/update_kernel')
-rwxr-xr-xkernel/update_kernel5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/update_kernel b/kernel/update_kernel
index 1131e5d0d..fb3103019 100755
--- a/kernel/update_kernel
+++ b/kernel/update_kernel
@@ -45,9 +45,10 @@ function create_modules_mar() {
echo "done"
mv modules.cz ../modules.cz-$kern
for i in network network_gigabit_usb network_gigabit network_usb cdrom hd hdcdrom_usb pcmcia all; do
- modules_with_deps=`perl $GIBASEDIR/kernel/dependencies.pl $GIBASEDIR/kernel/all.modules/$kern/modules.pl ${i}_modules`
+ eval "modules=\$${i}_modules_raw"
+ modules_with_deps=`perl -I $GIBASEDIR/kernel $GIBASEDIR/kernel/dependencies.pl modules.dep $modules`
if [ -n "$MOVE" ]; then modules_with_deps="$modules_with_deps loop.o gzloop.o isofs.o zlib_inflate.o"; fi
- eval "create_marfile ${i}_modules.mar \$$modules_with_deps"
+ eval "create_marfile ${i}_modules.mar $modules_with_deps"
done
echo
}