[Lunar-commits] <moonbase-core> glibc: depend on a static kernel version for --enable-kernel

Stefan Wold ratler at lunar-linux.org
Sat Aug 23 14:31:34 CEST 2014


commit b6f207ddd643f1dabea0fbadc1e4256b21b59f5f
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat, 16 Aug 2014 21:59:37 +0200
URL: https://github.com/lunar-linux/moonbase-core/commit/b6f207ddd643f1dabea0fbadc1e4256b21b59f5f

glibc: depend on a static kernel version for --enable-kernel

Instead of moving with kernel-headers we keep glibc to 2.6.32 which
seem to be a common standard for most distros. The former sometimes
cause some issues if you aren't careful which even could result
in your box not booting.
---
  libs/glibc/BUILD        | +1/-3     
  libs/glibc/BUILD.x86_64 | +1/-3     
  2 files changed, 2 insertions(+), 6 deletions(-)

--- a/libs/glibc/BUILD
+++ b/libs/glibc/BUILD
@@ -6,10 +6,8 @@
 
   export CC_OPTS=( Pipe )  &&
 
-  KVER=`installed_version kernel-headers`  &&
-
   # There is no other option but nptl
-  OPTS+=" --enable-add-ons=nptl,libidn --with-__thread --with-tls --disable-profile --enable-kernel=$KVER --with-headers=/usr/include"  &&
+  OPTS+=" --enable-add-ons=nptl,libidn --with-__thread --with-tls --disable-profile --enable-kernel=2.6.32 --with-headers=/usr/include"  &&
 
   if [ -n "$MAKES" ] && [ "$MAKES" -gt 1 ] ; then
     sedit "s/# PARALLELMFLAGS = -j 4/PARALLELMFLAGS = -j $MAKES/" Makefile.in
--- a/libs/glibc/BUILD.x86_64
+++ b/libs/glibc/BUILD.x86_64
@@ -5,10 +5,8 @@
 
   export CC_OPTS=( Pipe )  &&
 
-  KVER=`installed_version kernel-headers`  &&
-
   # There is no other option but nptl
-  OPTS+=" --enable-add-ons=nptl,libidn --with-__thread --with-tls --disable-profile --enable-kernel=$KVER --with-headers=/usr/include"  &&
+  OPTS+=" --enable-add-ons=nptl,libidn --with-__thread --with-tls --disable-profile --enable-kernel=2.6.32 --with-headers=/usr/include"  &&
 
   if [ -n "$MAKES" ] && [ "$MAKES" -gt 1 ] ; then
     sedit "s/# PARALLELMFLAGS = -j 4/PARALLELMFLAGS = -j $MAKES/" Makefile.in




More information about the Lunar-commits mailing list