Commit 1141c5f9 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/linux-grsec: make sure all patches are applied

parent 2214577d
......@@ -4,7 +4,7 @@ _flavor=grsec
pkgname=linux-${_flavor}
pkgver=2.6.32.15
_kernver=2.6.32
pkgrel=2
pkgrel=3
pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net
depends="mkinitfs linux-firmware"
......@@ -46,12 +46,14 @@ prepare() {
bunzip2 -c < ../patch-$pkgver.bz2 | patch -p1 -N || return 1
fi
# first apply the grsecurity patch and then the rest
for i in "$srcdir"/grsecurity*.patch "$srcdir"/0[0-9]*.patch \
"$srcdir"/xfrm*; do
[ -f $i ] || continue
msg "Applying $i..."
patch -s -p1 -N < $i || return 1
# first apply patches in specified order
for i in $source; do
case $i in
*.patch)
msg "Applying $i..."
patch -s -p1 -N < "$srcdir"/$i || return 1
;;
esac
done
mkdir -p "$srcdir"/build
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment