diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2004-09-21 04:04:32 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2004-09-21 04:04:32 +0000 |
commit | 75746f8dd773feec7470d34d2fb8136150d328d7 (patch) | |
tree | 5279fbd7f8dc9add81b11b96fff5d86647527568 /kernel | |
parent | 8906c8f6ccadedd5b5463a66b5fe46007705f5f0 (diff) | |
download | drakx-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-x | kernel/update_kernel | 7 |
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 |