summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-07-03 11:42:33 +0200
committertnut <tnut at nutyx dot com>2011-07-03 11:42:33 +0200
commitc0d3d150a287f3659c7a9e014bc2b6d211aaaf69 (patch)
treeb2faabad50dd0d3fed51df0ad770f1fc88da15ce /base
parent9c623f28bf6bfcfdd85b0a708d0e92bfcb97ce55 (diff)
downloadnutyx-pakxe-c0d3d150a287f3659c7a9e014bc2b6d211aaaf69.tar.gz
nutyx-pakxe-c0d3d150a287f3659c7a9e014bc2b6d211aaaf69.tar.bz2
nutyx-pakxe-c0d3d150a287f3659c7a9e014bc2b6d211aaaf69.tar.xz
nutyx-pakxe-c0d3d150a287f3659c7a9e014bc2b6d211aaaf69.zip
kernel-34, adapté pour pakxe.1 et ajout module broadcom
Diffstat (limited to 'base')
-rw-r--r--base/kernel-34/Pkgfile18
-rw-r--r--base/kernel-34/post-install2
2 files changed, 14 insertions, 6 deletions
diff --git a/base/kernel-34/Pkgfile b/base/kernel-34/Pkgfile
index 320aa7827..51936a297 100644
--- a/base/kernel-34/Pkgfile
+++ b/base/kernel-34/Pkgfile
@@ -1,18 +1,18 @@
-# Description: Le kernel version support à long terme
+# Description: Le kernel LTS avec module nvidia, broadcom et virtualbox
# URL: http://www.kernel.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
name=kernel-34
version=2.6.34.10
_BaseVersion=2.6.34
-release=1
+release=2
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
@@ -21,7 +21,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\
@@ -77,6 +80,11 @@ 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` clean
+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-34/post-install b/base/kernel-34/post-install
index d0ac1349d..16667cb1d 100644
--- a/base/kernel-34/post-install
+++ b/base/kernel-34/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