summaryrefslogtreecommitdiffstats
path: root/base/kernel-35
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-07-03 13:03:28 +0200
committertnut <tnut at nutyx dot com>2011-07-03 13:03:28 +0200
commit1e0f6b3f0f06e1afe0732376274dcc9c641a6621 (patch)
treefe0bb30e74c943305d9b9d4057ee8c0694cdbb35 /base/kernel-35
parent464803fffb1fe1df2137efb76d2839ed0270c58f (diff)
downloadnutyx-extra-1e0f6b3f0f06e1afe0732376274dcc9c641a6621.tar.gz
nutyx-extra-1e0f6b3f0f06e1afe0732376274dcc9c641a6621.tar.bz2
nutyx-extra-1e0f6b3f0f06e1afe0732376274dcc9c641a6621.tar.xz
nutyx-extra-1e0f6b3f0f06e1afe0732376274dcc9c641a6621.zip
kernel-35, adapté pour pakxe.1
Diffstat (limited to 'base/kernel-35')
-rw-r--r--base/kernel-35/Pkgfile17
-rw-r--r--base/kernel-35/post-install2
2 files changed, 13 insertions, 6 deletions
diff --git a/base/kernel-35/Pkgfile b/base/kernel-35/Pkgfile
index e0d8a3ee8..676fd1d39 100644
--- a/base/kernel-35/Pkgfile
+++ b/base/kernel-35/Pkgfile
@@ -1,4 +1,4 @@
-# Description: Le kernel version support à long terme
+# Description: Le kernel LTS avec les modules nvidia, broadcom et virtualbox
# URL: http://www.kernel.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
@@ -6,14 +6,14 @@
name=kernel-35
version=2.6.35.13
_BaseVersion=2.6.35
-release=5
+release=6
PKGMK_NO_STRIP="yes"
PKGMK_IGNORE_FOOTPRINT="yes"
PKGMK_IGNORE_MD5SUM="yes"
-SCRIPT_VERSION="pakxe"
+SCRIPT_VERSION="pakxe.1"
INITRDBASE="nutyx-initrd"
_extra=30052011
-_tools=25062011
+_tools=03072011
NVIDIA_VERSION=275.09.07
VB_VERSION=4.0.10
VB_BUILD=72479
@@ -22,7 +22,10 @@ ATI_VERSION=11.6
[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
[ "`uname -m`" == "i686" ] && VB_ARCH=x86
[ "`uname -m`" == "x86_64" ] && VB_ARCH=amd64
-source=(http://download.virtualbox.org/virtualbox/${VB_VERSION}/VirtualBox-${VB_VERSION}-${VB_BUILD}-Linux_${VB_ARCH}.run \
+[ "`uname -m`" == "i686" ] && BC_ARCH=x86_32
+[ "`uname -m`" == "x86_64" ] && BC_ARCH=x86_64
+source=(http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_${BC_ARCH}-v5_100_82_38.tar.gz \
+ http://download.virtualbox.org/virtualbox/${VB_VERSION}/VirtualBox-${VB_VERSION}-${VB_BUILD}-Linux_${VB_ARCH}.run \
http://www2.ati.com/drivers/linux/ati-driver-installer-${ATI_VERSION/./-}-x86.x86_64.run \
http://nutyx.meticul.eu/files/patchs/ati/ati-${ATI_VERSION}.tar.gz \
ftp://download.nvidia.com/XFree86/Linux-${_ARCH}/${NVIDIA_VERSION}/NVIDIA-Linux-${_ARCH}-${NVIDIA_VERSION}.run\
@@ -78,6 +81,10 @@ case `uname -m` in
i?86)
cp .config `prt-get printf %p --filter=$name`/$name/config;;
esac
+# Module broadcom
+cd $SRC
+KBUILD_NOPEDANTIC=1 make -C $SRC/linux-${_BaseVersion} M=`pwd`
+install -m 0644 -D wl.ko $PKG/lib/modules/${_BaseVersion}/kernel/drivers/zzzz/wl.ko
# Module nvidia
cd $SRC
sh NVIDIA-Linux-${_ARCH}-${NVIDIA_VERSION}.run --extract-only
diff --git a/base/kernel-35/post-install b/base/kernel-35/post-install
index e57bd1c07..c35859fa7 100644
--- a/base/kernel-35/post-install
+++ b/base/kernel-35/post-install
@@ -23,7 +23,7 @@ done
# Copie des modules kernels
mkdir -p $WDIR/rootfs/lib/modules
-cp -a /lib/modules/${version}\
+cp -a /lib/modules/${version} \
$WDIR/rootfs/lib/modules/
# Copie du script d'install