summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-07-10 07:42:08 +0200
committerMichał Górny <mgorny@gentoo.org>2020-07-11 08:33:19 +0200
commit2619bc79c1285049968a614c5335db9e707b374d (patch)
tree6def7a14b3ec30c1f961285be4aefcf823747c3c /sys-kernel
parentdev-qt/qt-creator: stop enabling USE=webengine by default (diff)
downloadgentoo-2619bc79c1285049968a614c5335db9e707b374d.tar.gz
gentoo-2619bc79c1285049968a614c5335db9e707b374d.tar.bz2
gentoo-2619bc79c1285049968a614c5335db9e707b374d.zip
sys-kernel/vanilla-kernel: Bump to 5.4.51
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/vanilla-kernel/Manifest1
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.4.51.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index 2dd72d10e029..b43ae963c8a9 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -6,6 +6,7 @@ DIST linux-5.4.47.tar.xz 109535968 BLAKE2B 0c0226343b26d43a39c7188ead8c07b0e7bd4
DIST linux-5.4.48.tar.xz 109547096 BLAKE2B b4780040ea1e619ce84055332c23a53ec52add0030b0c089cfe642b382d76c2be1fd836256cef509ddbb0d3f9d57fbebab8e23268590937a9bb72cf1eafd7064 SHA512 9da99a8764941330b21bf575e513b06285a1331bae661c32a88ba12048fe8634b51ea6173e40053b884f388248e4afd6140a9eb90db65f48a67162591831b82e
DIST linux-5.4.49.tar.xz 109559180 BLAKE2B 1e4c3dcc0f9826c2cf6211afb4fd17778abf14d50f1bd0acfe4fb675eecce9d2bc6260417edec4b11365974088ffcf9e316a0a292811c4d74bf3041371932225 SHA512 6ef787b4aa312929c3e0060f606be63fc430923b6f292d8961884f3ec3f8a34b0099e19eadafa9b246a79ea12a0655586616ddf765928d7f446528dbf9a74f30
DIST linux-5.4.50.tar.xz 109558772 BLAKE2B 4773da0615fc6bea24daae4ef74e4be5c87c953147853a131150a77a23bfe5b8930202bfa9a1d4651cbb0b240bcce2085c8dc4127aa376df7f0b2e4302f6141d SHA512 c8af71c654a3026a19dd961594d61ea89cd8ecd533e9d3c2306c1b23932bcb4d5f20aaab4ef0e4a25375d5d41556f5e82f6e16b0e658ef828540521e9cef8376
+DIST linux-5.4.51.tar.xz 109562468 BLAKE2B 1a5e304168a3ff83b9addfa2743d5e5e2ad44440071f9dea1c86701c5ac456d9cc78b79cd2b951210dea2dc5c23136e79b2a6088bf7fbbf1631e2db993c91c4f SHA512 2cca21b8a9444eac408c8f931ba66090bdfa4447352dc1db5daa734ef7cfbf529b58642c679b683a544dbd453f6e5e842a51bc4038242ef568cbee26369b241c
DIST linux-5.6.18.tar.xz 111817124 BLAKE2B a8c01860ac9e55b33709c450fb663815205260b5e62cd2bed224a47ccf1e249d2b02515f945d2508b83f1f59727d9fed29937fe584d5cfe42c5d035c020f3407 SHA512 4cef44b489b51bc4f826aafb36d0b767fc33adeb471c69c088d5e5f8a779a580a6992bcc0769800ecf658e77434dd513ed436813cbffa39d3f98f24ea8fcf1f3
DIST linux-5.6.19.tar.xz 111829024 BLAKE2B 7c0afa0e3d322314992022272614973311a8dfb85de5e0710dd4c929b0abc0a2389b49938f7df4256ea5719bf2a56a7d6eed2eebb51c337fd5fb277747a6620a SHA512 0b3c64ab4f63431c2da6786b4f85237f20c86f20a1faa79440d9cbc2aa6101118b0f18b6688ca7ad27dbcc4978d197fae52886fc23a3e2deb3c0a1d9c82c386b
DIST linux-5.6.8-arch1.amd64.config 246166 BLAKE2B e749472cf4bcd1fae509bf524367106c07111f5d385b5cacf335fe03188c30c184e3535603de2b855f81538fa6fb09cedfec16ff02db5b5583a90e5cb150dba5 SHA512 873275e0ba75fb5670ac7f90abfb16ab912b1a94e5f8f39845283230763118d244c1b02e33f1b05b5d86fce90cd274c944725465dabf2dd0e79fa735fabe4d4f
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.51.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.51.ebuild
new file mode 100644
index 000000000000..cc5e365bda59
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.51.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit kernel-build
+
+MY_P=linux-${PV}
+# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux
+AMD64_CONFIG_VER=5.4.15-arch1
+AMD64_CONFIG_HASH=dc8d69b59a7a529ec5aaeb6b32b16e59a3cc1569
+# https://git.archlinux32.org/packages/log/core/linux/config.i686
+I686_CONFIG_VER=5.4.15-arch1
+I686_CONFIG_HASH=1ad219bd3f0ab439a81ed01fec7660eeea7daa0e
+
+DESCRIPTION="Linux kernel built from vanilla upstream sources"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ amd64? (
+ https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux&id=${AMD64_CONFIG_HASH}
+ -> linux-${AMD64_CONFIG_VER}.amd64.config
+ )
+ x86? (
+ https://git.archlinux32.org/packages/plain/core/linux/config.i686?id=${I686_CONFIG_HASH}
+ -> linux-${I686_CONFIG_VER}.i686.config
+ )"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ !sys-kernel/vanilla-kernel-bin:${SLOT}"
+
+src_prepare() {
+ default
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}"/linux-${AMD64_CONFIG_VER}.amd64.config .config || die
+ ;;
+ x86)
+ cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local config_tweaks=(
+ # shove arch under the carpet!
+ -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
+ # we do support x32
+ -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
+ # disable signatures
+ -e '/CONFIG_MODULE_SIG/d'
+ -e '/CONFIG_SECURITY_LOCKDOWN/d'
+ # disable compression to allow stripping
+ -e '/CONFIG_MODULE_COMPRESS/d'
+ # disable gcc plugins to unbreak distcc
+ -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d'
+ )
+ sed -i "${config_tweaks[@]}" .config || die
+}