summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2004-09-21 04:04:32 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2004-09-21 04:04:32 +0000
commit75746f8dd773feec7470d34d2fb8136150d328d7 (patch)
tree5279fbd7f8dc9add81b11b96fff5d86647527568 /kernel
parent8906c8f6ccadedd5b5463a66b5fe46007705f5f0 (diff)
downloaddrakx-75746f8dd773feec7470d34d2fb8136150d328d7.tar
drakx-75746f8dd773feec7470d34d2fb8136150d328d7.tar.gz
drakx-75746f8dd773feec7470d34d2fb8136150d328d7.tar.bz2
drakx-75746f8dd773feec7470d34d2fb8136150d328d7.tar.xz
drakx-75746f8dd773feec7470d34d2fb8136150d328d7.zip
strip modules for 2.6 kernels too
Diffstat (limited to 'kernel')
-rwxr-xr-xkernel/update_kernel7
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/update_kernel b/kernel/update_kernel
index 772dd4a55..d17f51456 100755
--- a/kernel/update_kernel
+++ b/kernel/update_kernel
@@ -67,7 +67,10 @@ function create_modules_mar() {
$GIBASEDIR/kernel/strip_modules *.o 2>/dev/null
echo "done"
else
- echo "don't strip on 2.6 since it breaks modules"
+# echo "don't strip on 2.6 since it breaks modules"
+ echo -n "stripping $kern: "
+ $GIBASEDIR/kernel/strip_modules *.ko 2>/dev/null
+ echo "done"
fi
if [ -z "$MOVE" ]; then
@@ -142,7 +145,7 @@ fi
}
-if [ "$ARCH" == "i386" ]; then
+if [[ "$ARCH" == "i386" ]]; then
for i in $ALL_KERNELS/*/boot/vmlinuz*; do
#disable any existing resolution!!!
/usr/sbin/rdev -v $i 65535 #788 #785