X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=kernel.spec;h=b2199d97fb3e007149f6f1b3f51b0796cc132960;hb=5b278d3768d145fc3c4300fc908557cd70e115ad;hp=dfdf386ca3d683fb78acae404b965e2de95cd1d4;hpb=8e93cf49c4c598f13a7eb5edfc75c0f4f618e9f4;p=packages%2Fkernel.git diff --git a/kernel.spec b/kernel.spec index dfdf386c..b2199d97 100644 --- a/kernel.spec +++ b/kernel.spec @@ -29,7 +29,6 @@ %bcond_without ipv6 # ipv6 support %bcond_without aufs # aufs4 support -%bcond_without apparmor # UBUNTU SAUCE apparmor patches %bcond_with vserver # support for VServer @@ -69,8 +68,8 @@ %endif %define rel 1 -%define basever 4.16 -%define postver .11 +%define basever 4.17 +%define postver .2 # define this to '-%{basever}' for longterm branch %define versuffix %{nil} @@ -119,10 +118,10 @@ Epoch: 3 License: GPL v2 Group: Base/Kernel Source0: https://www.kernel.org/pub/linux/kernel/v4.x/linux-%{basever}.tar.xz -# Source0-md5: 1357fb4ee7c288fdeac5d4e0048f5c18 +# Source0-md5: 5bb13a03274b66b56c85b26682e407d7 %if "%{postver}" != ".0" Patch0: https://www.kernel.org/pub/linux/kernel/v4.x/patch-%{version}.xz -# Patch0-md5: e97b6bcc7fd267c8ad970c8e81752af6 +# Patch0-md5: dfd97ddacecaaec8ca7b697428274b2a %endif Source1: kernel.sysconfig @@ -196,7 +195,7 @@ Patch101: kernel-vserver-fixes.patch # Patch creation: # git clone git://github.com/sfjro/aufs4-standalone.git # cd aufs4-standalone -# git checkout -b aufs4.14 origin/aufs4.14 +# git checkout -b aufs4.17 origin/aufs4.17 # cat aufs4-kbuild.patch aufs4-base.patch aufs4-mmap.patch aufs4-standalone.patch > ~/rpm/packages/kernel/kernel-aufs4.patch # rm -rf linux && mkdir linux; cp -a Documentation fs include linux # diff -urN /usr/share/empty linux | filterdiff -x linux/include/uapi/linux/Kbuild >> ~/rpm/packages/kernel/kernel-aufs4.patch @@ -216,10 +215,6 @@ Patch2000: kernel-small_fixes.patch Patch2001: kernel-pwc-uncompress.patch Patch2003: kernel-regressions.patch -# https://gitlab.com/apparmor/apparmor/tree/master/kernel-patches/v4.15 -Patch5001: 0001-apparmor-add-base-infastructure-for-socket-mediation.patch -Patch5002: 0002-apparmor-af_unix-mediation.patch - # for rescuecd # based on ftp://ftp.leg.uct.ac.za/pub/linux/rip/tmpfs_root-2.6.30.diff.gz Patch7000: kernel-inittmpfs.patch @@ -682,12 +677,6 @@ cd linux-%{basever} rm -f localversion-rt %endif -# apparmor -%if %{with apparmor} -%patch5001 -p1 -%patch5002 -p1 -%endif - %patch250 -p1 %endif # vanilla