summaryrefslogtreecommitdiffstats
path: root/kernel/update_kernel
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-08-21 15:25:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-08-21 15:25:12 +0000
commit0bd15f17ed3808b6f3c76cc60625b5d8fce7db49 (patch)
tree1d548356607022019506e8f23fe258a17512bb2e /kernel/update_kernel
parent77062c4a032c781fec864d3cd5476d02c3d6bce2 (diff)
downloaddrakx-0bd15f17ed3808b6f3c76cc60625b5d8fce7db49.tar
drakx-0bd15f17ed3808b6f3c76cc60625b5d8fce7db49.tar.gz
drakx-0bd15f17ed3808b6f3c76cc60625b5d8fce7db49.tar.bz2
drakx-0bd15f17ed3808b6f3c76cc60625b5d8fce7db49.tar.xz
drakx-0bd15f17ed3808b6f3c76cc60625b5d8fce7db49.zip
- strip_modules on every arch
- discard error messages (there are normal and ugly)
Diffstat (limited to 'kernel/update_kernel')
-rwxr-xr-xkernel/update_kernel12
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"