kernel
This commit is contained in:
parent
3c9da99b42
commit
34d89fb466
|
@ -1,2 +0,0 @@
|
|||
rm -rf /lib/modules/`uname -r`/build
|
||||
ln -s /usr/src/linux-4.4 /lib/modules/`uname -r`/build
|
|
@ -1,27 +0,0 @@
|
|||
# Description: uzun donem kararli kernel surumu kaynak kodu
|
||||
# URL: http://www.kernel.org
|
||||
# Packagers: milisarge
|
||||
|
||||
name=kernel-lts-src
|
||||
version=4.4.27
|
||||
release=2
|
||||
|
||||
_version=${version:0:3}
|
||||
|
||||
source=(\
|
||||
http://www.kernel.org/pub/linux/kernel/v4.x/linux-${_version}.tar.xz
|
||||
https://www.kernel.org/pub/linux/kernel/v4.x/patch-$version.xz)
|
||||
|
||||
build(){
|
||||
|
||||
cd linux-${_version}
|
||||
|
||||
if [ -f $SRC/patch-$version.xz ]; then
|
||||
xz -d -c $SRC/patch-$version.xz | patch -Np1
|
||||
fi
|
||||
|
||||
mkdir -p $PKG/usr/src
|
||||
|
||||
mv $SRC/linux-${_version} $PKG/usr/src/
|
||||
|
||||
}
|
Loading…
Reference in New Issue