You are not logged in.

#1 2019-07-12 10:20:47

regid
Member
Registered: 2016-06-06
Posts: 201

Does arch apply its own patches to an official kernel?

If I let makepkg download linux source, say for 5.2.arch2-1, are there patches that were applied by arch, but not by upstream?


powerofforreboot.efi (AUR): Utilities to be used from within a UEFI boot manager or shell.

Offline

#2 2019-07-12 11:07:12

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: Does arch apply its own patches to an official kernel?

https://git.archlinux.org/linux.git/log/?h=v5.2-arch2

Currently there is one backported patch and two for runtime configuration for unprivileged user namespaces,


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2019-07-12 11:35:29

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Does arch apply its own patches to an official kernel?

Crude but effective:

#!/bin/bash
if [[ -z $1 ]]; then
	echo "Must provide the numerical version for comparison as first token"
	echo
	echo "$0 4.18.1"
	exit 1
fi

MPATH=/incoming

cd "$MPATH/arch-git/linux" || exit 1
rm -f 000*.patch
git pull
#git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
git fetch --tags stable
git fetch --tags
git format-patch v"$1"..v"$1"-arch1

In the case of 5.2-arch2:

% git format-patch v5.2..v5.2-arch2
0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
0002-ZEN-Add-CONFIG-for-unprivileged_userns_clone.patch
0003-iwlwifi-mvm-disable-TX-AMSDU-on-older-NICs.patch
0004-Arch-Linux-kernel-v5.2-arch2.patch

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2019-07-12 13:37:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Does arch apply its own patches to an official kernel?

The above give specifics, but a more broad answer to the title question is "Yes, but they are kept to a minimum"


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB