linux56-tkg: Import hardened config and patchset

Config: https://www.archlinux.org/packages/extra/x86_64/linux-hardened/
Patchset: https://github.com/anthraxx/linux-hardened
This commit is contained in:
Tk-Glitch 2020-04-27 15:49:18 +02:00
parent fb9332037a
commit 9b8bb89cd3
3 changed files with 13543 additions and 4 deletions

View File

@ -89,7 +89,7 @@ pkgname=("${pkgbase}" "${pkgbase}-headers")
_basekernel=5.6
_sub=7
pkgver="${_basekernel}"."${_sub}"
pkgrel=14
pkgrel=15
pkgdesc='Linux-tkg'
arch=('x86_64') # no i686 in here
url="http://www.kernel.org/"
@ -99,8 +99,8 @@ optdepends=('schedtool')
options=('!strip')
source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.xz"
"https://www.kernel.org/pub/linux/kernel/v5.x/patch-${pkgver}.xz"
'config.x86_64' # stock Arch config
#'config_hardened.x86_64' # hardened Arch config
'config.x86_64' # stock Arch config - https://www.archlinux.org/packages/core/x86_64/linux/
'config_hardened.x86_64' # hardened Arch config - https://www.archlinux.org/packages/extra/x86_64/linux-hardened/
# ARCH Patches
0001-add-sysctl-to-disallow-unprivileged-CLONE_NEWUSER-by.patch
# TkG
@ -120,12 +120,13 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.x
0009-glitched-bmq.patch
0009-bmq_v5.6-r3.patch
0011-ZFS-fix.patch
#0012-linux-hardened.patch
0012-linux-hardened.patch # https://github.com/anthraxx/linux-hardened
0013-tp_smapi_ec.patch
)
sha256sums=('e342b04a2aa63808ea0ef1baab28fc520bd031ef8cf93d9ee4a31d4058fcb622'
'a91bbeb913be661b64adf3adca12844c03c89fb801b1cc87ccb0af43d2eae460'
'6ac452e2124f92747a57c5a50e11ca2f1e8112669845b4431311545c7fd2a36c'
'116c8bee112e4bbf65fb7ef4770a24ed8e4d17dbb9d6d7911fa7b8cf13c1b086'
'31dc68e84aecfb7d069efb1305049122c65694676be8b955634abcf0675922a2'
'd02bf5ca08fd610394b9d3a0c3b176d74af206f897dee826e5cbaec97bb4a4aa'
'3a8936db7a311753e2d75650819d69366cc013008379380f11fcea092eabf92f'
@ -142,6 +143,7 @@ sha256sums=('e342b04a2aa63808ea0ef1baab28fc520bd031ef8cf93d9ee4a31d4058fcb622'
'965a517a283f265a012545fbb5cc9e516efc9f6166d2aa1baf7293a32a1086b7'
'2340925904efa3594cc65a7bae4fbff233d5d8bc7db605ce08acaca7450d2471'
'49262ce4a8089fa70275aad742fc914baa28d9c384f710c9a62f64796d13e104'
'573914ae79eb564032dce7e0c805fd59440696c148037b77013c8a4d5c4bd3b6'
'4a83c17a33779df304ee44ad8e736069b25d917baec429ecdd193fe1a9a63576')
export KBUILD_BUILD_HOST=archlinux

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff