summaryrefslogtreecommitdiffstats
path: root/base/kernel
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-06-24 20:03:42 +0200
committertnut <tnut at nutyx dot com>2011-06-24 20:03:42 +0200
commit31c77642bf9c8ce8532cf55b83f4a62a9e8298d0 (patch)
treec1bb71cc4f6e5ee7d0c2cf1ebc43cf01428d642c /base/kernel
parent1348ef7e75700e59b1d4cfe07b745094bdeede37 (diff)
downloadnutyx-pakxe-31c77642bf9c8ce8532cf55b83f4a62a9e8298d0.tar.gz
nutyx-pakxe-31c77642bf9c8ce8532cf55b83f4a62a9e8298d0.tar.bz2
nutyx-pakxe-31c77642bf9c8ce8532cf55b83f4a62a9e8298d0.tar.xz
nutyx-pakxe-31c77642bf9c8ce8532cf55b83f4a62a9e8298d0.zip
kernel, maj 2.6.39.2-1
Diffstat (limited to 'base/kernel')
-rw-r--r--base/kernel/Pkgfile24
1 files changed, 13 insertions, 11 deletions
diff --git a/base/kernel/Pkgfile b/base/kernel/Pkgfile
index b3fde3175..0d25336ac 100644
--- a/base/kernel/Pkgfile
+++ b/base/kernel/Pkgfile
@@ -4,16 +4,16 @@
# Packager: thierryn1 at hispeed dot ch
name=kernel
-version=2.6.39.1
+version=2.6.39.2
_BaseVersion=2.6.39
-release=2
+release=1
PKGMK_NO_STRIP="yes"
PKGMK_IGNORE_FOOTPRINT="yes"
PKGMK_IGNORE_MD5SUM="yes"
SCRIPT_VERSION="pakxe"
INITRDBASE="nutyx-initrd"
_extra=30052011
-_tools=11062011
+_tools=24062011
NVIDIA_VERSION=275.09.07
[ "`uname -m`" == "i686" ] && _ARCH=x86
[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
@@ -61,6 +61,16 @@ case `uname -m` in
i?86)
cp .config `prt-get printf %p --filter=$name`/$name/config;;
esac
+# Module nvidia
+cd $SRC
+sh NVIDIA-Linux-${_ARCH}-${NVIDIA_VERSION}.run --extract-only
+cd NVIDIA-Linux-${_ARCH}-${NVIDIA_VERSION}/kernel
+ln -s Makefile{.kbuild,}
+SYSSRC=$SRC/linux-${_BaseVersion} make module
+install -m 0644 -D nvidia.ko $PKG/lib/modules/${_BaseVersion}/kernel/video/nvidia/nvidia.ko
+
+# Install modules
+cd $SRC/linux-${_BaseVersion}
make INSTALL_MOD_PATH=$PKG modules_install
mkdir -p $PKG/boot
case `uname -m` in
@@ -97,14 +107,6 @@ mv $SRC/linux-${_BaseVersion}/arch/x86 $PKG/usr/src/linux-${_BaseVersion}/arch
mv $SRC/linux-${_BaseVersion}/vmlinux $PKG/usr/src/linux-${_BaseVersion}/
mv $SRC/linux-${_BaseVersion}/Module.symvers $PKG/usr/src/linux-${_BaseVersion}/
-# Module nvidia
-cd $SRC
-sh NVIDIA-Linux-${_ARCH}-${NVIDIA_VERSION}.run --extract-only
-cd NVIDIA-Linux-${_ARCH}-${NVIDIA_VERSION}/kernel
-ln -s Makefile{.kbuild,}
-SYSSRC=$PKG/usr/src/linux-${_BaseVersion} make module
-install -m 0644 -D nvidia.ko $PKG/lib/modules/${_BaseVersion}/kernel/video/nvidia/nvidia.ko
-
# initrd
cd $SRC
mkdir -p $PKG/root/bin