summaryrefslogtreecommitdiffstats
path: root/base/kernel-34
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-06-25 09:56:44 +0200
committertnut <tnut at nutyx dot com>2011-06-25 09:56:44 +0200
commitbf1409f6edf52905f1e009fb3eb9d5e4a4056af2 (patch)
tree442379629f0901952dfadc9141628a2c0e2a3180 /base/kernel-34
parent995c8a2e015fef50911c1935bc47775028bcaf56 (diff)
downloadnutyx-pakxe-bf1409f6edf52905f1e009fb3eb9d5e4a4056af2.tar.gz
nutyx-pakxe-bf1409f6edf52905f1e009fb3eb9d5e4a4056af2.tar.bz2
nutyx-pakxe-bf1409f6edf52905f1e009fb3eb9d5e4a4056af2.tar.xz
nutyx-pakxe-bf1409f6edf52905f1e009fb3eb9d5e4a4056af2.zip
kernel-34, maj initrd
Diffstat (limited to 'base/kernel-34')
-rw-r--r--base/kernel-34/Pkgfile20
1 files changed, 11 insertions, 9 deletions
diff --git a/base/kernel-34/Pkgfile b/base/kernel-34/Pkgfile
index 892580c35..e7697836e 100644
--- a/base/kernel-34/Pkgfile
+++ b/base/kernel-34/Pkgfile
@@ -6,14 +6,14 @@
name=kernel-34
version=2.6.34.9
_BaseVersion=2.6.34
-release=2
+release=3
PKGMK_NO_STRIP="yes"
PKGMK_IGNORE_FOOTPRINT="yes"
PKGMK_IGNORE_MD5SUM="yes"
SCRIPT_VERSION="pakxe"
INITRDBASE="nutyx-initrd"
_extra=30052011
-_tools=11062011
+_tools=25062011
NVIDIA_VERSION=275.09.07
[ "`uname -m`" == "i686" ] && _ARCH=x86
[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
@@ -61,6 +61,15 @@ 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
+
+# Modules install
make INSTALL_MOD_PATH=$PKG modules_install
mkdir -p $PKG/boot
case `uname -m` in
@@ -97,13 +106,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