diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-08-21 15:25:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-08-21 15:25:12 +0000 |
commit | 0bd15f17ed3808b6f3c76cc60625b5d8fce7db49 (patch) | |
tree | 1d548356607022019506e8f23fe258a17512bb2e /kernel/update_kernel | |
parent | 77062c4a032c781fec864d3cd5476d02c3d6bce2 (diff) | |
download | drakx-backup-do-not-use-0bd15f17ed3808b6f3c76cc60625b5d8fce7db49.tar drakx-backup-do-not-use-0bd15f17ed3808b6f3c76cc60625b5d8fce7db49.tar.gz drakx-backup-do-not-use-0bd15f17ed3808b6f3c76cc60625b5d8fce7db49.tar.bz2 drakx-backup-do-not-use-0bd15f17ed3808b6f3c76cc60625b5d8fce7db49.tar.xz drakx-backup-do-not-use-0bd15f17ed3808b6f3c76cc60625b5d8fce7db49.zip |
- strip_modules on every arch
- discard error messages (there are normal and ugly)
Diffstat (limited to 'kernel/update_kernel')
-rwxr-xr-x | kernel/update_kernel | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/kernel/update_kernel b/kernel/update_kernel index f54ea5d83..f2f17ea2c 100755 --- a/kernel/update_kernel +++ b/kernel/update_kernel @@ -5,9 +5,6 @@ RPMS=/export/Mandrake/RPMS ARCH=`uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/'` -if [[ "$ARCH" = "x86_64" ]]; then - STRIP_MODULES="yes" -fi # move stuff to this new "kernel" directory if [ ! -d all.kernels ]; then @@ -39,11 +36,10 @@ function create_modules() { } function create_modules_mar() { - if [[ -n "$STRIP_MODULES" ]]; then - echo -n "stripping $kern: " - $GIBASEDIR/kernel/strip_modules *.o - echo "done" - fi + echo -n "stripping $kern: " + $GIBASEDIR/kernel/strip_modules *.o 2>/dev/null + echo "done" + echo -n "packdrake $kern: " ls *.o | packdrake -b9s "modules.cz" 400000 echo "done" |