summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to '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"