%endif
%define rel 1
-%define basever 5.10
-%define postver .0
+%define basever 5.11
+%define postver .1
# define this to '-%{basever}' for longterm branch
%define versuffix %{nil}
License: GPL v2
Group: Base/Kernel
Source0: https://www.kernel.org/pub/linux/kernel/v5.x/linux-%{basever}.tar.xz
-# Source0-md5: 753adc474bf799d569dec4f165ed92c3
+# Source0-md5: d2985a3f16ef1ea3405c04c406e29dcc
%if "%{postver}" != ".0"
Patch0: https://www.kernel.org/pub/linux/kernel/v5.x/patch-%{version}.xz
-# Patch0-md5: d7f9892b339f14f5d2afa6bfb842b1f4
+# Patch0-md5: 0e4274c495b4c0cbf41dd3842c87de31
%endif
Source1: kernel.sysconfig
Patch100: kernel-vserver-2.3.patch
Patch101: kernel-vserver-fixes.patch
-# git://github.com/sfjro/aufs5-standalone.git, read README
-# Patch creation:
-# git clone git://github.com/sfjro/aufs5-standalone.git
-# cd aufs5-standalone
-# git checkout -b aufs5.8 origin/aufs5.8
-# cat aufs5-kbuild.patch aufs5-base.patch aufs5-mmap.patch aufs5-standalone.patch > ~/rpm/packages/kernel/kernel-aufs5.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-aufs5.patch
-# cat aufs5-loopback.patch >> ~/rpm/packages/kernel/kernel-aufs5.patch
-#
+# see update-source.sh
Patch145: kernel-aufs5.patch
Patch146: kernel-aufs+vserver.patch
# ARM only
Patch8000: rpi-wm8804.patch
+Patch8001: kernel-pinebook-pro.patch
+Patch8002: kernel-rk3399-afbc-ytr.patch
# Do not remove this line, please. It is easier for me to uncomment two lines, then patch
# kernel.spec every time.
BuildRequires: openssl-tools
BuildRequires: perl-base
BuildRequires: rpm-build >= 4.5-24
-BuildRequires: rpmbuild(macros) >= 1.743
+BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: tar >= 1:1.22
%ifarch ppc
BuildRequires: uboot-mkimage
%endif
Group: Development/Building
Requires: %{name}-module-build = %{epoch}:%{version}-%{release}
AutoReqProv: no
-%if "%{_rpmversion}" >= "5"
BuildArch: noarch
-%endif
%description source
This is the source code for the Linux kernel. You can build a custom
Summary(pl.UTF-8): Dokumentacja do jądra Linuksa
Group: Documentation
AutoReqProv: no
-%if "%{_rpmversion}" >= "5"
BuildArch: noarch
-%endif
%description doc
This is the documentation for the Linux kernel, as found in
%ifarch %{arm} aarch64
%patch8000 -p1
+%patch8001 -p1
+%patch8002 -p1
%endif
%if %{with rt}
scripts/documentation-file-ref-check \
scripts/get_dvb_firmware \
scripts/kernel-doc \
+ scripts/sphinx-pre-install \
scripts/stackdelta
+%{__sed} -i -e '1s,/usr/bin/env bash,%{__bash},' \
+ scripts/config
+
%build
install -d %{objdir}
cat > %{targetobj}.mk <<'EOF'
CONFIG_NFS_FS=y
CONFIG_ROOT_NFS=y
%endif
+
+%ifarch x32
+ CONFIG_BPF_PRELOAD=n
+%endif
EOCONFIG
%if %{with rescuecd}