summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-05-04 08:02:04 +0200
committerMichał Górny <mgorny@gentoo.org>2020-05-04 15:58:57 +0200
commitc2a9f165c0f58fce3d77705011e26c369c96d48d (patch)
treebd8681e498094db19d3b7024c8d666ec4b057161 /sys-kernel/vanilla-kernel
parentsys-kernel/gentoo-kernel: Bump to 5.4.38 (diff)
downloadgentoo-c2a9f165c0f58fce3d77705011e26c369c96d48d.tar.gz
gentoo-c2a9f165c0f58fce3d77705011e26c369c96d48d.tar.bz2
gentoo-c2a9f165c0f58fce3d77705011e26c369c96d48d.zip
sys-kernel/vanilla-kernel: Bump to 5.6.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-kernel/vanilla-kernel')
-rw-r--r--sys-kernel/vanilla-kernel/Manifest3
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.6.10.ebuild65
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index ba8f6110282a..4c86614dfb4f 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -6,9 +6,12 @@ DIST linux-5.4.38.tar.xz 109518904 BLAKE2B a1c627a0b26bf9814f532cb0b9801030b70de
DIST linux-5.5.19.tar.xz 110770092 BLAKE2B cd30a600a2b9ecd3f26ff994fa54871a0fabb24ca1db70b0657732fffcc9c77e9aaf14ab440b2544b77744ea0a8c325de47dbe01e8df54cc47880d38343ac1e9 SHA512 6eb7727b53b32cc1af33cf3561340b29f0e4ec6fb105f07470b4be19bc6617cef11b9fef1f82e0b10dc063367817173440002023cdfbd71cba5e355b4f6d4db5
DIST linux-5.5.5-arch1.amd64.config 243885 BLAKE2B 088e76a9981a64cd6163667fd09cc02148f15cc53812a429d1f5e22dc893823f57041e581ec957f38504c1fbb5aa0c7886847d1ea4cdc44d5ab245dcc304edc3 SHA512 e6958e1fd35e2a900fa6c81e68e35b42496e245829b8bfd85d9d351dcdf8bbea93d25a0edf74871beababb4ba28cd7a731e589e68e047ac972d973ea8c20d3ac
DIST linux-5.5.6-arch1.i686.config 243301 BLAKE2B c5fdd9dc2a0baed1ea421faa8f254d6ece47e89b78fc4c25c38369b53acc1f954978f2f86eda23b77d20a35096a596944f9c433db66008278ed2b8140823ce62 SHA512 b2d75bb1826a4dfad10aa5b6fa9cce2684d5de2dabc6da165e192e5a33cbd6eeaff4d7f236e074f4c099830e01e767bd6bc14a70d644057dce59288ae9704877
+DIST linux-5.6.10.tar.xz 111800376 BLAKE2B 86d457ca12d80f0c1130af7a0e18fd77308815d7d3e4da48ac392cd801ee8463fb3bad9e1432f989f1122cf0c85c4932912415e748d48bb828e18fa25c8a1adb SHA512 a2cf161a8f79e1d596cbe6e255b3b70fd5fd8cc27d4213a8bfd07f90afc26c40c70c9650224d074055df9c81a27ce70fc2bf4288acf3e69e6b51358d51acbf43
DIST linux-5.6.5-arch2.amd64.config 246155 BLAKE2B a30fa47b1384574076d5e3f02e1ea752ed3db5c4a6df2fcce6e81ec8b761a6d633fea1d275886b2b23ceb3b50f0e2324222ac96464fd4a19506caa57e4abbf34 SHA512 ff7b18d282d642c4dc5ccb12cf493b1889871078723d50dc7e08eb328c54030624cde673193bb75db701248661963741ffbf2c41261ccd4c2169175e6043cc49
DIST linux-5.6.5-arch3.i686.config 245328 BLAKE2B 58f39c963aa4276360df1e61526bc3ac575f5d4a364ca888b4f82eb74c6f609d94236715860a47a824ecc4c4b52ef1e59ba048bc2ab3b9e9157a8393846413cd SHA512 3e9db780b3607d839c2bf5fbb18f150024c65782e79879ee4758ed89e914a7d4fd39c0014addea0bcff3c2082730bbd458c69bf4770ec7255135b18cebae3858
DIST linux-5.6.6.tar.xz 111787404 BLAKE2B 885c30732c91ea3af1a797db14f1f517a05e0f388c5b854eb404a6b46f8be20debca5fd517c3e9910b012385a96154a7b1fa18f56c1d5927b7575b62ded98b74 SHA512 62fa97250323560323eaed57afba43f4fdef97a180ec8f0e0c39d86d41a63c3fa4242d27cda28f5c65f03290596cab2055d1ae7594c6134c3dcc821e24c21d4e
DIST linux-5.6.7.tar.xz 111786832 BLAKE2B 75eac8b00d9cce03c57f3b2636da09742230b054c3e642adc39dcd699313837899eba5902bfbb8bd47c8e0f57a101383e19fe2b545dc030e147f04dc58f4d373 SHA512 aa943c61a639ee1348a70878e728ec7bf25dcdfa54cac0e66d1bd3d8093e347758bb1667a8b7424636c557cfd98cf471154e9c6b42710907736f6986d9ff982c
+DIST linux-5.6.8-arch1.amd64.config 246166 BLAKE2B e749472cf4bcd1fae509bf524367106c07111f5d385b5cacf335fe03188c30c184e3535603de2b855f81538fa6fb09cedfec16ff02db5b5583a90e5cb150dba5 SHA512 873275e0ba75fb5670ac7f90abfb16ab912b1a94e5f8f39845283230763118d244c1b02e33f1b05b5d86fce90cd274c944725465dabf2dd0e79fa735fabe4d4f
+DIST linux-5.6.8-arch1.i686.config 245339 BLAKE2B 746b39cc8d8d880eadd3a04eaed7fa978ec73a412428fbd99e7e3543ac722a86a004b5fc31b4a307e8f4bb706224e032f22681dad8dea0340652cb4aade0d65b SHA512 a97487a842344e8dbda758b602c2b2095641d3e504c866e12afefa6744cbea39fe0d23900b0749cf4896160baf2bcde5a77a9614b23132665f1c7e3a580c7ca6
DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641
DIST tinycorelinux-10.1-x86.qcow2 14876672 BLAKE2B 3c760eb7438b13261e52ecfaa33a53649ced95f1ab40aae52134b8cdc31a16d7aa0d6a6dd716e268ed148e9d77a10b7c700b141b61d70c82d271ffe88e8e2a3c SHA512 9964538dc42f232a11949f74b61d46422ea5da3bdc253a217119bd0b8a750c40fd2da0b07157067be9ac0226472614f210a1248114df0d331df390979867a895
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.10.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.10.ebuild
new file mode 100644
index 000000000000..19f6b6d6749a
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.6.10.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.6.8-arch1
+AMD64_CONFIG_HASH=7dcb86e3e6f24c6d5462c5c8d25c3fa09e7e9f55
+# https://git.archlinux32.org/packages/log/core/linux/config.i686
+I686_CONFIG_VER=5.6.8-arch1
+I686_CONFIG_HASH=bc42cce2cca0d42b5cfeb8c6bcbf9f39430791f2
+
+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
+}