diff options
Diffstat (limited to 'core/ports/linux-blob/Pkgfile')
-rw-r--r-- | core/ports/linux-blob/Pkgfile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/core/ports/linux-blob/Pkgfile b/core/ports/linux-blob/Pkgfile index b312361..d9767b1 100644 --- a/core/ports/linux-blob/Pkgfile +++ b/core/ports/linux-blob/Pkgfile @@ -4,11 +4,11 @@ # Depends on: grub2 dracut name=linux-blob -version=4.9.11 -release=3 +version=4.9.12 +release=2 source=(https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz \ https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v4.9%2B_kernel_v3.15%2B.patch \ - http://grsecurity.net/test/grsecurity-3.1-4.9.11-201702181444.patch \ + http://grsecurity.net/test/grsecurity-3.1-4.9.12-201702231830.patch \ port-blob-grsecurity.patch \ port-blob-make.patch \ port-blob-cpu.patch \ @@ -22,26 +22,31 @@ build() { install -m 0644 $SRC/enable_additional_cpu_optimizations_for_gcc_v4.9%2B_kernel_v3.15%2B.patch $PKG/usr/src/${version}-cpu_optimizations.patch # /usr/src/grsecurity-version.patch - install -m 0644 $SRC/grsecurity-3.1-4.9.11-201702181444.patch $PKG/usr/src/ + install -m 0644 $SRC/grsecurity-3.1-4.9.12-201702231830.patch $PKG/usr/src/ patch < port-blob-grsecurity.patch patch < port-blob-cpu.patch + # fix to build under tpe + chmod -R go-w linux-$version + cd linux-$version patch < ${SRC}/port-blob-make.patch make distclean - patch -p1 < $SRC/grsecurity-3.1-4.9.11-201702181444.patch + patch -p1 < $SRC/grsecurity-3.1-4.9.12-201702231830.patch patch -p1 < $SRC/enable_additional_cpu_optimizations_for_gcc_v4.9%2B_kernel_v3.15%2B.patch cp $SRC/config-c9 .config make silentoldconfig - make nconfig + # make nconfig # make localmodconfig + make prepare + install -m 0644 .config $PKG/usr/src/${version}-blob-config make LOCALVERSION= bzImage modules |