diff options
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/ck-sources/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/ck-sources/ck-sources-4.9.52.ebuild | 65 |
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-kernel/ck-sources/Manifest b/sys-kernel/ck-sources/Manifest index 81a5ef9436b9..abf158e0858b 100644 --- a/sys-kernel/ck-sources/Manifest +++ b/sys-kernel/ck-sources/Manifest @@ -65,6 +65,9 @@ DIST genpatches-4.9-50.extras.tar.xz 17360 SHA256 5fa1db5d0093b52eac28a7a849b90b DIST genpatches-4.9-53.base.tar.xz 1032388 SHA256 f36bd451866b656bf3e7dd4f5accb03e61c332aa3c9837b2bbe4697a87198cc8 SHA512 4a17fcb0f8f86baad909e808a53c6b6b04480e582d6f00e86225e4a60463e942ecc02f0de822acd733eae870c1d76aab3b295d2c0b7c79a22e2b6211b93a6d29 WHIRLPOOL c88fad18a5a390f868035057fd7485fe5d6e09a8f77f1bfbc5816968ffa6f5cc1f38b1b6427ccf9f2f1043dea04dc27e131c632a11f5e985610345b7a5cda72f DIST genpatches-4.9-53.experimental.tar.xz 106396 SHA256 d7c1f6c822d7fa5dc33b290d909e4432d66fecf98eab1f641f4af948aaa9c4b2 SHA512 4e2831bd84a18b204739d93ca3a33ed19224da614e12823a90181dea6213dbbffa5e52e4db1a9529abf9d762af6c918da33936231f7def4c82e95e766b32394a WHIRLPOOL 8c3f16bc66e6b676508fd4752fca8c00dd7e496ae64ed3ae957dca8b4e6ac3d2d299400550c4f1af2a3c5da3c370c472a330cdd6ada93bd388ae49dfef034b49 DIST genpatches-4.9-53.extras.tar.xz 17340 SHA256 b22021fa7cb0f4254273fe61ba14e7c305b501de422709836648ec7950d81bd2 SHA512 9080bff5dde940c4c96e18e9fd2a6b29946511424cd5bf6c7467efd7d1301a7401155514d97fa5a890339ba84525f36f7a4c272fece3faae3dfaaf24d1498ac1 WHIRLPOOL f5a58a73291aebb4f7b2c0a9bab67605b9e41b9f495cafaaff2ad8581f93116692bf458b75b60ee1fdd9a803cc8643b99cd9fd3976512410c4fea66cba216e58 +DIST genpatches-4.9-54.base.tar.xz 1053504 SHA256 ad6728a6e84a45aa9a84215f72ba1daed8c9681b61d9470b0fed24c285aec82a SHA512 3e64d39f3d7d0c1d68cca6b27df1e374970f0b42f47ff6bc900a1a12d1305093efafdccc28a1ba89404397ad285298058e882329f651e8d1031ddc86dbf06c40 WHIRLPOOL 7c22db4217a2604a05e8f4a9817fceabf865b00c7c33df95cfc5a09af6ffa84d809930c221f55cb9b500cc8d57b2e43f70f80e622a19fb73e0d068f2ec2be18d +DIST genpatches-4.9-54.experimental.tar.xz 106360 SHA256 9c5b4ec4005bf50556163cebe4a4e577cffc3ed0ab06a40cd79bc7e9e33a964d SHA512 ace1650a90d70f1ab6d938d2509c44ff1911178161bfa6f060f5eb078b9c83d031709dc483f3481afc82c34b705cd9dd653c95c9b53817c79b0e632f970dad10 WHIRLPOOL 50c40e6160a92d98e568b3d55b336c4400cb8faff7fcfa5c71a8172e5149468b0483874c8531270f6f15b48f84fb3c47dee8ec01870c3331a150226c748b16ac +DIST genpatches-4.9-54.extras.tar.xz 17356 SHA256 70314b113191df3bcf461537c5c5789ce990311affcb41e9d00b4a4d1f674659 SHA512 894f37761c80304fd12e20d9b2a11a56475484dd2a4504f4aada6b48854e752228256d56dfc328c7633996a16f4653af0105698b6a230619d9a3364b9d08a265 WHIRLPOOL 3fddbc03354fcb2b3c72caa7462a36d16a0595304da2ff9df0614925e252e3c15c38138b4f07789333c118dde992569c7cbbeb019b5052bc0ff18e87fb08cf6b DIST linux-4.11.tar.xz 95447768 SHA256 b67ecafd0a42b3383bf4d82f0850cbff92a7e72a215a6d02f42ddbafcf42a7d6 SHA512 6610eed97ffb7207c71771198c36179b8244ace7222bebb109507720e26c5f17d918079a56d5febdd8605844d67fb2df0ebe910fa2f2f53690daf6e2a8ad09c3 WHIRLPOOL f577b7c5c209cb8dfef2f1d56d77314fbd53323743a34b900e2559ab0049b7c2d6262bda136dd3d005bc0527788106e0484e46558448a8720dac389a969e5886 DIST linux-4.12.tar.xz 99186576 SHA256 a45c3becd4d08ce411c14628a949d08e2433d8cdeca92036c7013980e93858ab SHA512 8e81b41b253e63233e92948941f44c6482acb52aa3a3fd172f03a38a86f2c35b2ad4fd407acd1bc3964673eba344fe104d3a03e3ff4bf9cd1f22bd44263bd728 WHIRLPOOL 3b97da251c2ba4ace4a27b708f2b1dcf94cb1b59aaeded6acb74bd98f0d3e33f1df83670665e4186d99a55daa84c88d539d93e20f0ff18a6d46ef326c48dd375 DIST linux-4.9.tar.xz 93192404 SHA256 029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a SHA512 bf67ff812cc3cb7e5059e82cc5db0d9a7c5637f7ed9a42e4730c715bf7047c81ed3a571225f92a33ef0b6d65f35595bc32d773356646df2627da55e9bc7f1f1a WHIRLPOOL 072505b29972ad120eb25a074217847c9c2813416c4903e605a0433574f5f87616dbea0b1454e4b19acc48107f11274b682958b1d773373156e99f8163e6606a diff --git a/sys-kernel/ck-sources/ck-sources-4.9.52.ebuild b/sys-kernel/ck-sources/ck-sources-4.9.52.ebuild new file mode 100644 index 000000000000..28b1c407e231 --- /dev/null +++ b/sys-kernel/ck-sources/ck-sources-4.9.52.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +ETYPE="sources" +KEYWORDS="~amd64 ~x86" + +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches/ + http://users.tpg.com.au/ckolivas/kernel/" + +K_WANT_GENPATCHES="base extras experimental" +K_EXP_GENPATCHES_PULL="1" +K_EXP_GENPATCHES_NOUSE="1" +K_GENPATCHES_VER="54" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" + +PYTHON_COMPAT=( python2_7 ) +inherit python-any-r1 kernel-2 +detect_version +detect_arch + +DEPEND="deblob? ( ${PYTHON_DEPS} )" + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" + +DESCRIPTION="Con Kolivas' high performance patchset and Gentoo's genpatches for Linux ${K_BRANCH_ID}" + +CK_VERSION="1" + +CK_FILE="patch-${K_BRANCH_ID}-ck${CK_VERSION}.xz" + +CK_BASE_URL="http://ck.kolivas.org/patches/4.0" +CK_LVER_URL="${CK_BASE_URL}/${K_BRANCH_ID}/${K_BRANCH_ID}-ck${CK_VERSION}" +CK_URI="${CK_LVER_URL}/${CK_FILE}" + +# solves bug #606866 (Fix build for CONFIG_FREEZER disabled.x) +FRZR_HASH="7de569950716147ed436b27936628ee3ab5b45cc" +FRZR_FILE="${PN}-4.9-freezer-fix.patch" +FRZR_URI="https://github.com/ckolivas/linux/commit/${FRZR_HASH}.patch -> ${FRZR_FILE}" + +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${CK_URI} ${FRZR_URI}" + +UNIPATCH_LIST="${DISTDIR}/${CK_FILE} ${DISTDIR}/${FRZR_FILE}" +UNIPATCH_STRICTORDER="yes" + +# ck-patches already includes BFQ (similar version as genpatches "experimental" USE flag) +# what's not included is: "additional cpu optimizations" (5010) from genpatches experimental + +K_EXP_GENPATCHES_LIST="5010_*.patch*" + +pkg_setup() { + use deblob && python-any-r1_pkg_setup + kernel-2_pkg_setup +} + +src_prepare() { + +#-- Comment out CK's EXTRAVERSION in Makefile --------------------------------- + + # linux-info eclass cannot handle recursively expanded variables in Makefile #490328 + sed -i -e 's/\(^EXTRAVERSION :=.*$\)/# \1/' "${S}/Makefile" || die + + kernel-2_src_prepare +} |