summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-01 14:52:35 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-01 14:52:35 +0000
commit449a0ee55dd5574743bce469a463290d3e67ab7f (patch)
tree7a49ad5d11e9e000cbd3b45a742b5e6f9a2dc709 /kernel
parent22a9b61e1466c372be8fb6a29b33ecc156abe013 (diff)
downloaddrakx-449a0ee55dd5574743bce469a463290d3e67ab7f.tar
drakx-449a0ee55dd5574743bce469a463290d3e67ab7f.tar.gz
drakx-449a0ee55dd5574743bce469a463290d3e67ab7f.tar.bz2
drakx-449a0ee55dd5574743bce469a463290d3e67ab7f.tar.xz
drakx-449a0ee55dd5574743bce469a463290d3e67ab7f.zip
conditionally packdrake
Diffstat (limited to 'kernel')
-rwxr-xr-xkernel/update_kernel10
1 files changed, 6 insertions, 4 deletions
diff --git a/kernel/update_kernel b/kernel/update_kernel
index 601aeb15f..9a15d04d7 100755
--- a/kernel/update_kernel
+++ b/kernel/update_kernel
@@ -40,10 +40,12 @@ function create_modules_mar() {
$GIBASEDIR/kernel/strip_modules *.o 2>/dev/null
echo "done"
- echo -n "packdrake $kern: "
- ls *.o | packdrake -b9s "modules.cz" 400000
- echo "done"
- mv modules.cz ../modules.cz-$kern
+ if [ -z "$MOVE" ]; then
+ echo -n "packdrake $kern: "
+ ls *.o | packdrake -b9s "modules.cz" 400000
+ echo "done"
+ mv modules.cz ../modules.cz-$kern
+ fi
for i in network network_gigabit_usb network_gigabit network_usb cdrom hd hdcdrom_usb pcmcia all; do
eval "modules=\$${i}_modules_raw"
modules_with_deps=`perl -I $GIBASEDIR/kernel $GIBASEDIR/kernel/dependencies.pl modules.dep $modules`