This commit is contained in:
milisarge 2017-06-03 17:17:47 +03:00
parent 3c9da99b42
commit 34d89fb466
2 changed files with 0 additions and 29 deletions

View File

@ -1,2 +0,0 @@
rm -rf /lib/modules/`uname -r`/build
ln -s /usr/src/linux-4.4 /lib/modules/`uname -r`/build

View File

@ -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/
}