Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/vanilla-kernel/
Date: Tue, 29 Sep 2020 13:20:56
Message-Id: 1601385646.494806bab8b07e18eed7c31f270c58bf92e51059.mgorny@gentoo
1 commit: 494806bab8b07e18eed7c31f270c58bf92e51059
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 29 11:57:54 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 29 13:20:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=494806ba
7
8 sys-kernel/vanilla-kernel: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-kernel/vanilla-kernel/Manifest | 27 -----
13 .../vanilla-kernel/vanilla-kernel-5.4.60.ebuild | 83 -------------
14 .../vanilla-kernel/vanilla-kernel-5.4.61.ebuild | 83 -------------
15 .../vanilla-kernel/vanilla-kernel-5.4.62.ebuild | 83 -------------
16 .../vanilla-kernel/vanilla-kernel-5.4.63.ebuild | 90 --------------
17 .../vanilla-kernel/vanilla-kernel-5.4.65.ebuild | 129 ---------------------
18 .../vanilla-kernel/vanilla-kernel-5.4.67.ebuild | 129 ---------------------
19 .../vanilla-kernel/vanilla-kernel-5.7.17.ebuild | 83 -------------
20 .../vanilla-kernel/vanilla-kernel-5.7.18.ebuild | 83 -------------
21 .../vanilla-kernel/vanilla-kernel-5.7.19.ebuild | 83 -------------
22 .../vanilla-kernel/vanilla-kernel-5.8.10.ebuild | 127 --------------------
23 .../vanilla-kernel/vanilla-kernel-5.8.11.ebuild | 127 --------------------
24 .../vanilla-kernel/vanilla-kernel-5.8.3.ebuild | 83 -------------
25 .../vanilla-kernel/vanilla-kernel-5.8.4.ebuild | 83 -------------
26 .../vanilla-kernel/vanilla-kernel-5.8.5.ebuild | 83 -------------
27 .../vanilla-kernel/vanilla-kernel-5.8.6.ebuild | 83 -------------
28 .../vanilla-kernel/vanilla-kernel-5.8.7.ebuild | 90 --------------
29 .../vanilla-kernel/vanilla-kernel-5.8.8.ebuild | 128 --------------------
30 .../vanilla-kernel/vanilla-kernel-5.8.9.ebuild | 127 --------------------
31 19 files changed, 1804 deletions(-)
32
33 diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
34 index 3cc0195554d..86a6a797644 100644
35 --- a/sys-kernel/vanilla-kernel/Manifest
36 +++ b/sys-kernel/vanilla-kernel/Manifest
37 @@ -1,39 +1,12 @@
38 -DIST kernel-aarch64-fedora.config.5.7.8 208443 BLAKE2B ca77401ee1abd8a2f34de28c32a7153434534a10335f29150c33a0b4fa9b52b161223f59a79e50d9e260014ea2f95e5a2066957060cbf3ca8e938b05957315a4 SHA512 7528c9ae989e9d6297c4d06c3555a06f6636f92ef02adbc03a8bb7173891cfaf52222faeeb1409112119221b08041147acde5d4fe3ab73175bd55d4406283f52
39 -DIST kernel-aarch64-fedora.config.5.8.1 215181 BLAKE2B d29bdc80f90f8ff22f43439ec03c8f391ddeae8d299dd36cb4d4d51c7d37851900faef728a94eca069c08fbb22a8ef5c2bdfb2b850e4f669276d967cb47dc331 SHA512 99f9a4fa65082d09b38bd05021a9f7577b98eb8b101928ff7862139461f603484722ed19aefe34540da6aa15908abee99a5287c1594e45f0c12afa4663820fa0
40 -DIST kernel-aarch64-fedora.config.5.8.4 215181 BLAKE2B d29bdc80f90f8ff22f43439ec03c8f391ddeae8d299dd36cb4d4d51c7d37851900faef728a94eca069c08fbb22a8ef5c2bdfb2b850e4f669276d967cb47dc331 SHA512 99f9a4fa65082d09b38bd05021a9f7577b98eb8b101928ff7862139461f603484722ed19aefe34540da6aa15908abee99a5287c1594e45f0c12afa4663820fa0
41 DIST kernel-aarch64-fedora.config.5.8.5 215148 BLAKE2B c71380f46c1b37e9e17bab6d78907114369b377bcbdb54afa2c35b6a222937fd061f25309d8de0cc78ef2329ede7192722270acceeaa3da4629a5f58d8fee809 SHA512 e86e2c60e88b1ea5968db1a471d7d928ccb3146fe850f8f2813ef315f2de0cbfa0daa2f6828dee71acb2299f65f05fc0b6f1572a82fb146ae9f53a905fe94e97
42 DIST kernel-aarch64.config.5.4.21 199104 BLAKE2B 578ad451a76204df2a9bbbe34b5cb27051d2ac5e2c33967f562b01338c43f35da6dc33a4c2cc67ea6c3b32b155729360d3748ec28dcaa750f18449245b2e8a09 SHA512 66e9a437beb350fdc59512c17b8f72c5b5bfacf2b35070d810d77e66f49cf7929026cc28ad44b04a016d61e65d9fb4a10af6996ba09b604bf97e9c467d08f8ff
43 -DIST kernel-i686-fedora.config.5.7.8 191864 BLAKE2B 217857254ffd12e987a5bd573e2520508bc70764b6363fc2c6bda1e5be46b70528616b26167150cba32f9e57fe17883c455fed34615a216b2398017d307971db SHA512 b90c6f2cdb55bcb115d7b92752a6efd8fdc09f68acbf365b08c9ff89732745f26d2644e18cb097ffd92d75cff07dbd98a9723179a35dc72ce01a732bdd632592
44 -DIST kernel-i686-fedora.config.5.8.1 199143 BLAKE2B ea223234bc54d430b87f3eb15fe11b11e617103c861945fb530091285abd0702e2cbb1d9258ca1afe718c4e7578c41f8878422c53e2f0b476e5ff2fa5c17aece SHA512 fc9c1b642e59c3c80b4cb6e1e6e9e2a27692524324539a3f1c163e284f8a69efb45ec839a630b0faeb0e52c15fb6577449163c7396aa0f1c43d727fe8aa35623
45 -DIST kernel-i686-fedora.config.5.8.4 199143 BLAKE2B ea223234bc54d430b87f3eb15fe11b11e617103c861945fb530091285abd0702e2cbb1d9258ca1afe718c4e7578c41f8878422c53e2f0b476e5ff2fa5c17aece SHA512 fc9c1b642e59c3c80b4cb6e1e6e9e2a27692524324539a3f1c163e284f8a69efb45ec839a630b0faeb0e52c15fb6577449163c7396aa0f1c43d727fe8aa35623
46 DIST kernel-i686-fedora.config.5.8.5 199121 BLAKE2B f6e16e6faac6e730eb4c9c3edc1c173b2988b49fe677d34ef1540541911b8f76e5bdc166327d73237c78c1769d484de18864044c91b7da253795506c674d7303 SHA512 0a2c9abaae11ac1ec2e43da4b53fd1731a9bec983a7fda7b9e20f1d25b816e6b0bd217b255ca95b02a8b6530e923b4fc7de770f6a66411045712e7de61d431af
47 DIST kernel-i686.config.5.4.21 183910 BLAKE2B 185126ffb85718bb73761d01683def80b6f002d7a7a6eddd8e858a30d8eadc863fb378d83a1cd2ed82b3540337fa66ae44475e31fb41ebc46d77005b6f54e5c0 SHA512 6307afc2295902e44fe65b1cccaa7a0260b295a5f21f1d67ec66197bd972bd3f5675b624f08d9da8b224cb3ec987d5c21cbd743599aeab9ac6214bc651f43476
48 DIST kernel-ppc64le-fedora.config.5.8.5 185766 BLAKE2B 27330c7806923eb4a3346df2abb5f253ca044a02afe72a89c6ce006d149966d65b4ba3e114b5ebefae987565279510c05d33dbc89c36c5e78e2e88732f5125f2 SHA512 8b621e0584624ccc24580951fc116478506a7465715449a53e70f46c99d0210bf08063a4fd5b87e4624f5ce179e6a6316f23723839c0e64e57a2ee58e4de59fe
49 DIST kernel-ppc64le.config.5.4.21 172003 BLAKE2B b53887cb44f7c378cb3866780f8e556e19fdb02130d3b0df01d97698d2a91f7d90a200012559f288e962935742c3fdb67dfb6711876fad37862fe55cdca5b5f6 SHA512 82df8d0be47e9eb20bd7db570539bb061d0b6e2101dc78a54596cf4d0b4e0c536041449304ff9240b051ee09b342ea336c5645e9a3b66a5dfb96d7778ff86008
50 -DIST kernel-x86_64-fedora.config.5.7.8 192882 BLAKE2B 23044bd3625d1ced686950c1322e91dd99eddb3128ab830c8862f5c949b66df67bc9ce38b810f4d54a35f9b9f11feb58d01450593ec513e132d789e3a50ac48b SHA512 b7770da1f608e8f0ec227dbeaf66491815e9fc4f8f08f01d2ad5877dd1946e73b315e8834f35cb5fc035fc3ac52ede8365107515d54b0792f326ad937d901625
51 -DIST kernel-x86_64-fedora.config.5.8.1 200074 BLAKE2B 05673cc7c5ae861faff6e823b8fadb9ce2f00864cc955d78733945abe6fa5842b5b74d0e41129cea92607bd907598b39127740dabd377cb25a2fbbcd54eae8b6 SHA512 c601c380163c66c9e351508dbc7ad3f10214eb04895257f721c808e8fa685770b9c898f48b3b05a5f76832fbf8c91e63278539dd9ef3e2c571997c844ecc7c8b
52 -DIST kernel-x86_64-fedora.config.5.8.4 200074 BLAKE2B 05673cc7c5ae861faff6e823b8fadb9ce2f00864cc955d78733945abe6fa5842b5b74d0e41129cea92607bd907598b39127740dabd377cb25a2fbbcd54eae8b6 SHA512 c601c380163c66c9e351508dbc7ad3f10214eb04895257f721c808e8fa685770b9c898f48b3b05a5f76832fbf8c91e63278539dd9ef3e2c571997c844ecc7c8b
53 DIST kernel-x86_64-fedora.config.5.8.5 200052 BLAKE2B be804fd499527a6c6927365c0350b51b3351da9a4e3f75bcbcc44d1a1b21d001d4907e6028ceb7ec6d5c812ea190d369ca6de4ae2c21a293342b6af33b8e5e65 SHA512 40ba21b0597702d3cff9eb3c1fab98784229ba78702bbb0fae2264b145a2e433615522e300cff1f9c9c52067431116b80a8db92e1263bd1a9070adbbd068f982
54 DIST kernel-x86_64.config.5.4.21 184907 BLAKE2B 0eb2b07c14cea7545350fcdf3a94f2a531f0137c502ebda9299cacf44da5385686e2049b480b28bc153c9d413d453cfe682b9655eefe70428cb720f57c7bd200 SHA512 f3b3ee6841555ac3a9cc11536a7d44e1a5a8df2bab14ba341fda7df1ceb0de45cf1c799a1d54a64f2858fd1272d348bb52cf269ffa396878c5402baf2730237f
55 -DIST linux-5.4.60.tar.xz 109583396 BLAKE2B 1f6296eb9be00329b1eb015eafb4a965c575ded58b8618cfc0af3d15072c424afbbc029fad4d65e0af3bccc5963c4304c14b4a9d4763cfaec9b4596834a0f9b0 SHA512 fb9ebada932c17d0adbc099a1df31a7d97afe3be694665b1f8171e7159bda84a36a435ceecfdce6d492d8e5075ed4253c68029dcdf952e75a3fe7ee36646327b
56 -DIST linux-5.4.61.tar.xz 109579356 BLAKE2B 78e8ee2fcd0e8cce8f536ba907a24676b5aafa662d97eb5c02f97150b0be4616dc564542503d4250d3fd8a674598cd2d3fdcaa34c880e0f3df558c4b5da8b24c SHA512 1c2d7226dc8b4b6ca468a7082b42ac14bdf9f2ff4d0824737cb6a2e959b2c5da320877efe8b6dc7fd66200daadfe5ac424d8c8abc52888358e45ee594f60937d
57 -DIST linux-5.4.62.tar.xz 109580336 BLAKE2B 4cc346ae1b9def22ddbab11ea9a73eeedeb742290f5726eac9d72d7b6b8a6e8599cc6ad264ef840136a214152007c7c32757a01109129d6fd27a0ce504318311 SHA512 0d1d1b2e2e809caf0c5a6fd3d06494fc02ed8ad84c2aef37670afaa20611c8c4dc8a21b9ceeec406f0533ba85c9c1251a78da4ca5bba14b727926ca741183d53
58 -DIST linux-5.4.63.tar.xz 109583360 BLAKE2B f1afaf0d30b26ce325e9b7e4c8b328749f466796839ff7bc63b4ee14215627347dad38c168efa7099dc964d4378ac8ca94de7771339446acc51a75e9377442a0 SHA512 1e97faea4c5f4a814d207f0a850cd5dd4aab33259f5501d54fea3f5487aab3e7b38af3f38d9c2bb127222d859e8ad6cdc0d19e10e42ec455b53d3728b085353d
59 DIST linux-5.4.64.tar.xz 109593152 BLAKE2B f0bea4ef1fac7a4744848d6328175d1cd200023eba9398bc46511e88e7ad51b559732202d642df60bb5032004e42aae753eb9d7b049781d12303f48e3aece6bc SHA512 135e62581e9bef772a5c68a2b1945bbe09689d5d8bda41a09efdd7ba7cd99afa8010c4157a5d23badeb8b6f9832c53ffda49d1dd6c5862f01b9756ceca9ebcec
60 -DIST linux-5.4.65.tar.xz 109587504 BLAKE2B 3cc1040e324ba0ffb95b1b075621264623a1f17b929b77af4231dfff0a494fbab2d4acbe20fcd39bc216ac21ad425ed8ff3b703b46aebf9df7009626621b8f8b SHA512 f457e7cf3f1a241a187ab8251238e0fad5308ca0f30623908ddaead32041797db02438a4a926c73b504774516db400e9c95427f4f24f60efbde65bb9e7926f0f
61 DIST linux-5.4.66.tar.xz 109584352 BLAKE2B 5b2f08dfac6069f2a5a842de69b572691d4d6857f07c38c3fee2e2d327b3ddfd2ed7c17e18ef60bfaad3f36161ca61d8796ac537b2a783c5a6580d0abae49357 SHA512 06cfd689542805cb843b19993242adee5d41a383ae6f4c730073f4d56e78a2d9e92f8d012de7635a67290c83cf204302a839ca8d4395869a4c0d4e2457283c05
62 -DIST linux-5.4.67.tar.xz 109587704 BLAKE2B 0870c932888bbd75e04195e2a8106bf83e1df0ba99d1bab625cdd973d4c96d6ca99e8ec2d2cf9633c116c431beaa035046c4b971a9b6e50733eb64051d5f52d6 SHA512 1b1b1db72df2dc4a438ae64f1a099a5e5ca4e9aeec0d18688fdb4310cd8080b57d0c4bd718b715a5b1f608bb372079a0a49994f0cadefe68a8bc4189d5d9d658
63 DIST linux-5.4.68.tar.xz 109601148 BLAKE2B 03e25fdfa93a892aa7b8ea0ba4822c1dbf1f8cb498cdb80b3c3f4f8ea2b7d4f02bcecdf3788afc84dd1fbd4de02add0c2a5f9e5d9ededaa02fff4bf5e8310300 SHA512 027f63296a2b3a0fda3eaeed8ac1a3e0075d90469888c76666f355a69f2c81384e9245d31991f74f6fbba657d35ba32bf280a455e7b5abd68b039990f5f8efaa
64 -DIST linux-5.7.17.tar.xz 112744000 BLAKE2B ef73f9c940d678465d1ff2c4eb880b6878827f563942666aab0fb49be9c24d6a12a78a2c569c9cb35023c82a195945b392ca00a933726701c0cff092f71141b6 SHA512 e4618e3d28882b81699892eb04b266a3e0b508806d02bd9671c84027a5a343535561b7094755ab6358ffd72e9ce5a2296b126ce9218a334b260c31535e2de59f
65 -DIST linux-5.7.18.tar.xz 112759392 BLAKE2B 22fb5388521bd824a8ecbde7484db3319817eaebc6c74b5f615b872ec18b1cf6abd6b9aed651400bfee2b12e2d759a066ea79412021202a05b8fa1934b9b14aa SHA512 d84a1dfb3ae6fad1f4ca3b42bbd01e9b6e1543e23f319237bc4db2381770df5a30d799cf5ed6ca85c5ece6779502327afdb4892452f612b9e4dbca3305c9901c
66 -DIST linux-5.7.19.tar.xz 112742648 BLAKE2B 408fdc49f8a341f6d7c0fead1ddc1b0816caf4a7393286127440a6ec1b513cd413067d6e56180310cc9d634b95c9583b7f38ae4711cd115f4ac2f08918e6b916 SHA512 c64aacd11f90dd1fb4f163ba3757ba52543c8a3c3932b9600109ad2b8ac97c8819d430067266e1e347998b5e9df92f7c0f1945a73142442ba5bccd41439a4988
67 -DIST linux-5.8.10.tar.xz 114493036 BLAKE2B 9cfc3a8ac707e3b08ee690661b9b5ad1ac249158c34416563ccb3bd8988814faf3ead9b2ec7405ef5d75a9672365ee96e1d4c0c659a63728e5c5bdea768bee7a SHA512 cff8cbbf30b8a8b3e151573d36dd6a36e3ddf849f1866f02c811c30a95945d76752051aff6c5b680d19d72dc42a6238ba438f3e00755c1eb64b5ba0276fbad0f
68 -DIST linux-5.8.11.tar.xz 114496860 BLAKE2B 64a128f29cc18146625e5a7424438324cd41da18a10fc6cac89a0da2b9deda9df039b516b79a8d3e8fdabf23d03608cc30aff15bf673e27c8febfbbd8a200540 SHA512 bb6994f09aabfb0076f3023dd8359c5c569a4b398d3a3c3c8d6b27052092cab56ad675f45dd6ceba7fe431f2a6a587858f3c21415b5a00adb346bd2c68d85b0f
69 DIST linux-5.8.12.tar.xz 114510484 BLAKE2B 85edb8bea54dc1952e7f3ec439d01b22181ac9ba527ca387a04168966398e615a052d7d9585cde47fa4a4f9f09a7dffffaa41508af9b0cb7c93357e9f54ecf15 SHA512 c1daa20dcdaa2cb805e7a973b684ea40327088d8fadf0cf44f4c73284923363397b12f2e1958d64d6a0ff348198366d46b59a5301a72d3431389d319a4bde489
70 -DIST linux-5.8.3.tar.xz 114473912 BLAKE2B 9d2913bbaf4afabd8f654abd0a2a3c62df043a613cbc2518944f5889d1a760ab6401e76d0b67b0cc9fbe05c8a0e280fe9b2ebf125f50ff5962f097956642fd8e SHA512 a23973139bf105e202621f6181be366e1a933aefd1da9a347d3a19c0917ba16dd271b5c8d90a8c527791fb0f7535a1cc1bbecd118598b500c881d16ff7d64157
71 -DIST linux-5.8.4.tar.xz 114478188 BLAKE2B d9cb7a130e69de2fd176e5ce4236cfe5f4f31cf96f963a1f04e94958d0b064a7cf34c5a2d7e37500892fd840214ce1fc6f2ffb3050cbf8678ffe612bbd1cf51d SHA512 b1fb4586932369f2853360aaab702baaa994be5a88c0a746b7272d7c29c864ac2f0302bd82664f58d29f7b464bc98603167211ea886aa15ea1cd6d12d422ba61
72 -DIST linux-5.8.5.tar.xz 114482912 BLAKE2B 751cded511b08dd541cd6ae2365602068138641d4a6ade4205936dd1ec1de5a01441a2822afde25fd83004896e8ae02a70af37482dc4b09fa9fc52ca8bd05a8c SHA512 30832e10d14f87f62542cc8a58d2d7d54cbfd0e99de772f79364354a09c2aff2c5bd07bcd06e1e7523a404aa39829355b6b198334472d3070dc7a4f810ed0f20
73 -DIST linux-5.8.6.tar.xz 114492376 BLAKE2B 05a36af44a20686e3612ceee49f12fd81aa40865f7934d15da4ff3444b261a4d60dc6eb2e04617c2f5d470cca8f8310f7c5452ed3bcddfafc000816d5aabfd7d SHA512 13a7af7fd678354ca4bebaf42b1f18d31eb066be93bd2627294f67c18e40897b140bcb7d86533e5653e771a18fda820b31e80c0fc815908840d339a9a804d7df
74 -DIST linux-5.8.7.tar.xz 114493672 BLAKE2B 4a1761a9fcec3c13b4f61c0be2af9287c38fa4c6f65b9751c379f333a25af513c4ed5cc1cc49f287e0362058446e99b63fbf5a944d688d4724ba707f8791ef40 SHA512 f529143fad82d0ab36a6f0f2b3ff1e00be12c53bdee7248b371206de0668f21b944d50cefc196b3ac684fdf99b7feb81436fd173b7e82a9c44553ff126e8a84c
75 -DIST linux-5.8.8.tar.xz 114499832 BLAKE2B 2bd3da156a9e1da58e3fa059accf96c1deeb2e7679aa365b9bc3b11bbdabbad2131d39c611ec0becdbd97399ea5f470634ba45fdb69d514b529c0d8389ce6055 SHA512 cd716a3619b4d802c0c4ea1e73bf810f01047b504c6617d48eb5cee62c10685b8813b9c88687cb5f866538a402c98092581b413dce302d46c1c06d084080c87c
76 -DIST linux-5.8.9.tar.xz 114503916 BLAKE2B 2c570dde4a870b32d7253b859a9337909043733f09d35990897503a1db3af5ee18b573d057b2b2f90af1b8af02f5c86ba258ec31d4456bf98abde01cbaf2549f SHA512 d3a3a494a5ddc258d6e8eaf92eeb8957ca94ecc8657157c0647369772630848d3fb3633133fd184cc020a148b659d95a6e3d850d435c64ffa55e2f5156687220
77
78 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.60.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.60.ebuild
79 deleted file mode 100644
80 index d2655d6349c..00000000000
81 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.60.ebuild
82 +++ /dev/null
83 @@ -1,83 +0,0 @@
84 -# Copyright 2020 Gentoo Authors
85 -# Distributed under the terms of the GNU General Public License v2
86 -
87 -EAPI=7
88 -
89 -inherit kernel-build
90 -
91 -MY_P=linux-${PV}
92 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
93 -CONFIG_VER=5.4.21
94 -CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
95 -
96 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
97 -HOMEPAGE="https://www.kernel.org/"
98 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
99 - amd64? (
100 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
101 - -> kernel-x86_64.config.${CONFIG_VER}
102 - )
103 - arm64? (
104 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
105 - -> kernel-aarch64.config.${CONFIG_VER}
106 - )
107 - x86? (
108 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
109 - -> kernel-i686.config.${CONFIG_VER}
110 - )"
111 -S=${WORKDIR}/${MY_P}
112 -
113 -LICENSE="GPL-2"
114 -KEYWORDS="~amd64 ~arm64 ~x86"
115 -IUSE="debug"
116 -
117 -RDEPEND="
118 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
119 -BDEPEND="
120 - debug? ( dev-util/dwarves )"
121 -
122 -pkg_pretend() {
123 - ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
124 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
125 -
126 - kernel-install_pkg_pretend
127 -}
128 -
129 -src_prepare() {
130 - default
131 -
132 - # prepare the default config
133 - case ${ARCH} in
134 - amd64)
135 - cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
136 - ;;
137 - arm64)
138 - cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
139 - ;;
140 - x86)
141 - cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
142 - ;;
143 - *)
144 - die "Unsupported arch ${ARCH}"
145 - ;;
146 - esac
147 -
148 - local config_tweaks=(
149 - # shove arch under the carpet!
150 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
151 - # we do support x32
152 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
153 - # disable signatures
154 - -e '/CONFIG_MODULE_SIG/d'
155 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
156 - )
157 - use debug || config_tweaks+=(
158 - -e '/CONFIG_DEBUG_INFO/d'
159 - )
160 - [[ ${ARCH} == x86 ]] && config_tweaks+=(
161 - # fix autoenabling 64bit
162 - -e '2i\
163 -# CONFIG_64BIT is not set'
164 - )
165 - sed -i "${config_tweaks[@]}" .config || die
166 -}
167
168 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.61.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.61.ebuild
169 deleted file mode 100644
170 index d2655d6349c..00000000000
171 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.61.ebuild
172 +++ /dev/null
173 @@ -1,83 +0,0 @@
174 -# Copyright 2020 Gentoo Authors
175 -# Distributed under the terms of the GNU General Public License v2
176 -
177 -EAPI=7
178 -
179 -inherit kernel-build
180 -
181 -MY_P=linux-${PV}
182 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
183 -CONFIG_VER=5.4.21
184 -CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
185 -
186 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
187 -HOMEPAGE="https://www.kernel.org/"
188 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
189 - amd64? (
190 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
191 - -> kernel-x86_64.config.${CONFIG_VER}
192 - )
193 - arm64? (
194 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
195 - -> kernel-aarch64.config.${CONFIG_VER}
196 - )
197 - x86? (
198 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
199 - -> kernel-i686.config.${CONFIG_VER}
200 - )"
201 -S=${WORKDIR}/${MY_P}
202 -
203 -LICENSE="GPL-2"
204 -KEYWORDS="~amd64 ~arm64 ~x86"
205 -IUSE="debug"
206 -
207 -RDEPEND="
208 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
209 -BDEPEND="
210 - debug? ( dev-util/dwarves )"
211 -
212 -pkg_pretend() {
213 - ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
214 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
215 -
216 - kernel-install_pkg_pretend
217 -}
218 -
219 -src_prepare() {
220 - default
221 -
222 - # prepare the default config
223 - case ${ARCH} in
224 - amd64)
225 - cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
226 - ;;
227 - arm64)
228 - cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
229 - ;;
230 - x86)
231 - cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
232 - ;;
233 - *)
234 - die "Unsupported arch ${ARCH}"
235 - ;;
236 - esac
237 -
238 - local config_tweaks=(
239 - # shove arch under the carpet!
240 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
241 - # we do support x32
242 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
243 - # disable signatures
244 - -e '/CONFIG_MODULE_SIG/d'
245 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
246 - )
247 - use debug || config_tweaks+=(
248 - -e '/CONFIG_DEBUG_INFO/d'
249 - )
250 - [[ ${ARCH} == x86 ]] && config_tweaks+=(
251 - # fix autoenabling 64bit
252 - -e '2i\
253 -# CONFIG_64BIT is not set'
254 - )
255 - sed -i "${config_tweaks[@]}" .config || die
256 -}
257
258 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.62.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.62.ebuild
259 deleted file mode 100644
260 index d2655d6349c..00000000000
261 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.62.ebuild
262 +++ /dev/null
263 @@ -1,83 +0,0 @@
264 -# Copyright 2020 Gentoo Authors
265 -# Distributed under the terms of the GNU General Public License v2
266 -
267 -EAPI=7
268 -
269 -inherit kernel-build
270 -
271 -MY_P=linux-${PV}
272 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
273 -CONFIG_VER=5.4.21
274 -CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
275 -
276 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
277 -HOMEPAGE="https://www.kernel.org/"
278 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
279 - amd64? (
280 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
281 - -> kernel-x86_64.config.${CONFIG_VER}
282 - )
283 - arm64? (
284 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
285 - -> kernel-aarch64.config.${CONFIG_VER}
286 - )
287 - x86? (
288 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
289 - -> kernel-i686.config.${CONFIG_VER}
290 - )"
291 -S=${WORKDIR}/${MY_P}
292 -
293 -LICENSE="GPL-2"
294 -KEYWORDS="~amd64 ~arm64 ~x86"
295 -IUSE="debug"
296 -
297 -RDEPEND="
298 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
299 -BDEPEND="
300 - debug? ( dev-util/dwarves )"
301 -
302 -pkg_pretend() {
303 - ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
304 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
305 -
306 - kernel-install_pkg_pretend
307 -}
308 -
309 -src_prepare() {
310 - default
311 -
312 - # prepare the default config
313 - case ${ARCH} in
314 - amd64)
315 - cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
316 - ;;
317 - arm64)
318 - cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
319 - ;;
320 - x86)
321 - cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
322 - ;;
323 - *)
324 - die "Unsupported arch ${ARCH}"
325 - ;;
326 - esac
327 -
328 - local config_tweaks=(
329 - # shove arch under the carpet!
330 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
331 - # we do support x32
332 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
333 - # disable signatures
334 - -e '/CONFIG_MODULE_SIG/d'
335 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
336 - )
337 - use debug || config_tweaks+=(
338 - -e '/CONFIG_DEBUG_INFO/d'
339 - )
340 - [[ ${ARCH} == x86 ]] && config_tweaks+=(
341 - # fix autoenabling 64bit
342 - -e '2i\
343 -# CONFIG_64BIT is not set'
344 - )
345 - sed -i "${config_tweaks[@]}" .config || die
346 -}
347
348 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.63.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.63.ebuild
349 deleted file mode 100644
350 index cfbdb27fa73..00000000000
351 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.63.ebuild
352 +++ /dev/null
353 @@ -1,90 +0,0 @@
354 -# Copyright 2020 Gentoo Authors
355 -# Distributed under the terms of the GNU General Public License v2
356 -
357 -EAPI=7
358 -
359 -inherit kernel-build
360 -
361 -MY_P=linux-${PV}
362 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
363 -CONFIG_VER=5.4.21
364 -CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
365 -
366 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
367 -HOMEPAGE="https://www.kernel.org/"
368 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
369 - amd64? (
370 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
371 - -> kernel-x86_64.config.${CONFIG_VER}
372 - )
373 - arm64? (
374 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
375 - -> kernel-aarch64.config.${CONFIG_VER}
376 - )
377 - ppc64? (
378 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config
379 - -> kernel-ppc64le.config.${CONFIG_VER}
380 - )
381 - x86? (
382 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
383 - -> kernel-i686.config.${CONFIG_VER}
384 - )"
385 -S=${WORKDIR}/${MY_P}
386 -
387 -LICENSE="GPL-2"
388 -KEYWORDS="~amd64 ~arm64 ~x86"
389 -IUSE="debug"
390 -
391 -RDEPEND="
392 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
393 -BDEPEND="
394 - debug? ( dev-util/dwarves )"
395 -
396 -pkg_pretend() {
397 - ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
398 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
399 -
400 - kernel-install_pkg_pretend
401 -}
402 -
403 -src_prepare() {
404 - default
405 -
406 - # prepare the default config
407 - case ${ARCH} in
408 - amd64)
409 - cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
410 - ;;
411 - arm64)
412 - cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
413 - ;;
414 - ppc64)
415 - cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" .config || die
416 - ;;
417 - x86)
418 - cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
419 - ;;
420 - *)
421 - die "Unsupported arch ${ARCH}"
422 - ;;
423 - esac
424 -
425 - local config_tweaks=(
426 - # shove arch under the carpet!
427 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
428 - # we do support x32
429 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
430 - # disable signatures
431 - -e '/CONFIG_MODULE_SIG/d'
432 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
433 - )
434 - use debug || config_tweaks+=(
435 - -e '/CONFIG_DEBUG_INFO/d'
436 - )
437 - [[ ${ARCH} == x86 ]] && config_tweaks+=(
438 - # fix autoenabling 64bit
439 - -e '2i\
440 -# CONFIG_64BIT is not set'
441 - )
442 - sed -i "${config_tweaks[@]}" .config || die
443 -}
444
445 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.65.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.65.ebuild
446 deleted file mode 100644
447 index ee1e12c459a..00000000000
448 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.65.ebuild
449 +++ /dev/null
450 @@ -1,129 +0,0 @@
451 -# Copyright 2020 Gentoo Authors
452 -# Distributed under the terms of the GNU General Public License v2
453 -
454 -EAPI=7
455 -
456 -inherit kernel-build
457 -
458 -MY_P=linux-${PV}
459 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
460 -CONFIG_VER=5.4.21
461 -CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
462 -
463 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
464 -HOMEPAGE="https://www.kernel.org/"
465 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
466 - amd64? (
467 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
468 - -> kernel-x86_64.config.${CONFIG_VER}
469 - )
470 - arm64? (
471 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
472 - -> kernel-aarch64.config.${CONFIG_VER}
473 - )
474 - ppc64? (
475 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config
476 - -> kernel-ppc64le.config.${CONFIG_VER}
477 - )
478 - x86? (
479 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
480 - -> kernel-i686.config.${CONFIG_VER}
481 - )"
482 -S=${WORKDIR}/${MY_P}
483 -
484 -LICENSE="GPL-2"
485 -KEYWORDS="~amd64 ~arm64 ~x86"
486 -IUSE="debug"
487 -
488 -RDEPEND="
489 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
490 -BDEPEND="
491 - debug? ( dev-util/dwarves )"
492 -
493 -pkg_pretend() {
494 - ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
495 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
496 -
497 - kernel-install_pkg_pretend
498 -}
499 -
500 -src_prepare() {
501 - default
502 -
503 - # prepare the default config
504 - case ${ARCH} in
505 - amd64)
506 - cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
507 - ;;
508 - arm64)
509 - cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
510 - ;;
511 - ppc64)
512 - cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" .config || die
513 - ;;
514 - x86)
515 - cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
516 - ;;
517 - *)
518 - die "Unsupported arch ${ARCH}"
519 - ;;
520 - esac
521 -
522 - local config_tweaks=(
523 - # replace (none) with gentoo
524 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
525 - # we do support x32
526 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
527 - # disable signatures
528 - -e '/CONFIG_MODULE_SIG/d'
529 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
530 - -e '/CONFIG_KEXEC_SIG/d'
531 - -e '/CONFIG_KEXEC_BZIMAGE_VERIFY_SIG/d'
532 - -e '/CONFIG_SYSTEM_EXTRA_CERTIFICATE/d'
533 - -e '/CONFIG_SIGNATURE/d'
534 - # remove massive array of LSMs
535 - -e 's/CONFIG_LSM=.*/CONFIG_LSM="yama"/'
536 - -e 's/CONFIG_DEFAULT_SECURITY_SELINUX=y/CONFIG_DEFAULT_SECURITY_DAC=y/'
537 - # nobody actually wants fips
538 - -e '/CONFIG_CRYPTO_FIPS/d'
539 - # these tests are really not necessary
540 - -e 's/.*CONFIG_CRYPTO_MANAGER_DISABLE_TESTS.*/CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y/'
541 - # probably not needed by anybody but developers
542 - -e '/CONFIG_CRYPTO_STATS/d'
543 - # 1000hz is excessive for laptops
544 - -e 's/CONFIG_HZ_1000=y/CONFIG_HZ_300=y/'
545 - # nobody is using this kernel on insane super computers
546 - -e 's/CONFIG_NR_CPUS=.*/CONFIG_NR_CPUS=512/'
547 - # we're not actually producing live patches for folks
548 - -e 's/CONFIG_LIVEPATCH=y/CONFIG_LIVEPATCH=n/'
549 - # this slows down networking in general
550 - -e 's/CONFIG_IP_FIB_TRIE_STATS=y/CONFIG_IP_FIB_TRIE_STATS=n/'
551 - # include font for normal and hidpi screens
552 - -e 's/.*CONFIG_FONTS.*/CONFIG_FONTS=y\nCONFIG_FONT_8x16=y\nCONFIG_FONT_TER16x32=y/'
553 - # we don't need to actually install system headers from this ebuild
554 - -e '/CONFIG_HEADERS_INSTALL/d'
555 - # enable /proc/config.gz, used by linux-info.eclass
556 - -e '/CONFIG_IKCONFIG/s:.*:CONFIG_IKCONFIG=y\nCONFIG_IKCONFIG_PROC=y:'
557 - # WireGuard was backported to 5.4 but we use old configs (#739128)
558 - -e '$aCONFIG_WIREGUARD=m'
559 - )
560 - use debug || config_tweaks+=(
561 - -e '/CONFIG_DEBUG_INFO/d'
562 - -e '/CONFIG_DEBUG_RODATA_TEST/d'
563 - -e '/CONFIG_DEBUG_VM/d'
564 - -e '/CONFIG_DEBUG_SHIRQ/d'
565 - -e '/CONFIG_DEBUG_LIST/d'
566 - -e '/CONFIG_BUG_ON_DATA_CORRUPTION/d'
567 - -e '/CONFIG_TORTURE_TEST/d'
568 - -e '/CONFIG_BOOTTIME_TRACING/d'
569 - -e '/CONFIG_RING_BUFFER_BENCHMARK/d'
570 - -e '/CONFIG_X86_DECODER_SELFTEST/d'
571 - -e '/CONFIG_KGDB/d'
572 - )
573 - [[ ${ARCH} == x86 ]] && config_tweaks+=(
574 - # fix autoenabling 64bit
575 - -e '2i\
576 -# CONFIG_64BIT is not set'
577 - )
578 - sed -i "${config_tweaks[@]}" .config || die
579 -}
580
581 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.67.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.67.ebuild
582 deleted file mode 100644
583 index ee1e12c459a..00000000000
584 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.67.ebuild
585 +++ /dev/null
586 @@ -1,129 +0,0 @@
587 -# Copyright 2020 Gentoo Authors
588 -# Distributed under the terms of the GNU General Public License v2
589 -
590 -EAPI=7
591 -
592 -inherit kernel-build
593 -
594 -MY_P=linux-${PV}
595 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
596 -CONFIG_VER=5.4.21
597 -CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
598 -
599 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
600 -HOMEPAGE="https://www.kernel.org/"
601 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
602 - amd64? (
603 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
604 - -> kernel-x86_64.config.${CONFIG_VER}
605 - )
606 - arm64? (
607 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
608 - -> kernel-aarch64.config.${CONFIG_VER}
609 - )
610 - ppc64? (
611 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config
612 - -> kernel-ppc64le.config.${CONFIG_VER}
613 - )
614 - x86? (
615 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
616 - -> kernel-i686.config.${CONFIG_VER}
617 - )"
618 -S=${WORKDIR}/${MY_P}
619 -
620 -LICENSE="GPL-2"
621 -KEYWORDS="~amd64 ~arm64 ~x86"
622 -IUSE="debug"
623 -
624 -RDEPEND="
625 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
626 -BDEPEND="
627 - debug? ( dev-util/dwarves )"
628 -
629 -pkg_pretend() {
630 - ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
631 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
632 -
633 - kernel-install_pkg_pretend
634 -}
635 -
636 -src_prepare() {
637 - default
638 -
639 - # prepare the default config
640 - case ${ARCH} in
641 - amd64)
642 - cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
643 - ;;
644 - arm64)
645 - cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
646 - ;;
647 - ppc64)
648 - cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" .config || die
649 - ;;
650 - x86)
651 - cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
652 - ;;
653 - *)
654 - die "Unsupported arch ${ARCH}"
655 - ;;
656 - esac
657 -
658 - local config_tweaks=(
659 - # replace (none) with gentoo
660 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
661 - # we do support x32
662 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
663 - # disable signatures
664 - -e '/CONFIG_MODULE_SIG/d'
665 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
666 - -e '/CONFIG_KEXEC_SIG/d'
667 - -e '/CONFIG_KEXEC_BZIMAGE_VERIFY_SIG/d'
668 - -e '/CONFIG_SYSTEM_EXTRA_CERTIFICATE/d'
669 - -e '/CONFIG_SIGNATURE/d'
670 - # remove massive array of LSMs
671 - -e 's/CONFIG_LSM=.*/CONFIG_LSM="yama"/'
672 - -e 's/CONFIG_DEFAULT_SECURITY_SELINUX=y/CONFIG_DEFAULT_SECURITY_DAC=y/'
673 - # nobody actually wants fips
674 - -e '/CONFIG_CRYPTO_FIPS/d'
675 - # these tests are really not necessary
676 - -e 's/.*CONFIG_CRYPTO_MANAGER_DISABLE_TESTS.*/CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y/'
677 - # probably not needed by anybody but developers
678 - -e '/CONFIG_CRYPTO_STATS/d'
679 - # 1000hz is excessive for laptops
680 - -e 's/CONFIG_HZ_1000=y/CONFIG_HZ_300=y/'
681 - # nobody is using this kernel on insane super computers
682 - -e 's/CONFIG_NR_CPUS=.*/CONFIG_NR_CPUS=512/'
683 - # we're not actually producing live patches for folks
684 - -e 's/CONFIG_LIVEPATCH=y/CONFIG_LIVEPATCH=n/'
685 - # this slows down networking in general
686 - -e 's/CONFIG_IP_FIB_TRIE_STATS=y/CONFIG_IP_FIB_TRIE_STATS=n/'
687 - # include font for normal and hidpi screens
688 - -e 's/.*CONFIG_FONTS.*/CONFIG_FONTS=y\nCONFIG_FONT_8x16=y\nCONFIG_FONT_TER16x32=y/'
689 - # we don't need to actually install system headers from this ebuild
690 - -e '/CONFIG_HEADERS_INSTALL/d'
691 - # enable /proc/config.gz, used by linux-info.eclass
692 - -e '/CONFIG_IKCONFIG/s:.*:CONFIG_IKCONFIG=y\nCONFIG_IKCONFIG_PROC=y:'
693 - # WireGuard was backported to 5.4 but we use old configs (#739128)
694 - -e '$aCONFIG_WIREGUARD=m'
695 - )
696 - use debug || config_tweaks+=(
697 - -e '/CONFIG_DEBUG_INFO/d'
698 - -e '/CONFIG_DEBUG_RODATA_TEST/d'
699 - -e '/CONFIG_DEBUG_VM/d'
700 - -e '/CONFIG_DEBUG_SHIRQ/d'
701 - -e '/CONFIG_DEBUG_LIST/d'
702 - -e '/CONFIG_BUG_ON_DATA_CORRUPTION/d'
703 - -e '/CONFIG_TORTURE_TEST/d'
704 - -e '/CONFIG_BOOTTIME_TRACING/d'
705 - -e '/CONFIG_RING_BUFFER_BENCHMARK/d'
706 - -e '/CONFIG_X86_DECODER_SELFTEST/d'
707 - -e '/CONFIG_KGDB/d'
708 - )
709 - [[ ${ARCH} == x86 ]] && config_tweaks+=(
710 - # fix autoenabling 64bit
711 - -e '2i\
712 -# CONFIG_64BIT is not set'
713 - )
714 - sed -i "${config_tweaks[@]}" .config || die
715 -}
716
717 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.17.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.17.ebuild
718 deleted file mode 100644
719 index da392ebe6f5..00000000000
720 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.17.ebuild
721 +++ /dev/null
722 @@ -1,83 +0,0 @@
723 -# Copyright 2020 Gentoo Authors
724 -# Distributed under the terms of the GNU General Public License v2
725 -
726 -EAPI=7
727 -
728 -inherit kernel-build
729 -
730 -MY_P=linux-${PV}
731 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
732 -CONFIG_VER=5.7.8
733 -CONFIG_HASH=14d239184a721485a823f30f5aede1c6190558ad
734 -
735 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
736 -HOMEPAGE="https://www.kernel.org/"
737 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
738 - amd64? (
739 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
740 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
741 - )
742 - arm64? (
743 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
744 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
745 - )
746 - x86? (
747 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
748 - -> kernel-i686-fedora.config.${CONFIG_VER}
749 - )"
750 -S=${WORKDIR}/${MY_P}
751 -
752 -LICENSE="GPL-2"
753 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
754 -IUSE="debug"
755 -REQUIRED_USE="
756 - arm? ( savedconfig )"
757 -
758 -RDEPEND="
759 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
760 -BDEPEND="
761 - debug? ( dev-util/dwarves )"
762 -
763 -pkg_pretend() {
764 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
765 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
766 -
767 - kernel-install_pkg_pretend
768 -}
769 -
770 -src_prepare() {
771 - default
772 -
773 - # prepare the default config
774 - case ${ARCH} in
775 - amd64)
776 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
777 - ;;
778 - arm)
779 - return
780 - ;;
781 - arm64)
782 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
783 - ;;
784 - x86)
785 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
786 - ;;
787 - *)
788 - die "Unsupported arch ${ARCH}"
789 - ;;
790 - esac
791 -
792 - local config_tweaks=(
793 - # shove arch under the carpet!
794 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
795 - # we do support x32
796 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
797 - # disable signatures
798 - -e '/CONFIG_MODULE_SIG/d'
799 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
800 - )
801 - use debug || config_tweaks+=(
802 - -e '/CONFIG_DEBUG_INFO/d'
803 - )
804 - sed -i "${config_tweaks[@]}" .config || die
805 -}
806
807 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.18.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.18.ebuild
808 deleted file mode 100644
809 index da392ebe6f5..00000000000
810 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.18.ebuild
811 +++ /dev/null
812 @@ -1,83 +0,0 @@
813 -# Copyright 2020 Gentoo Authors
814 -# Distributed under the terms of the GNU General Public License v2
815 -
816 -EAPI=7
817 -
818 -inherit kernel-build
819 -
820 -MY_P=linux-${PV}
821 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
822 -CONFIG_VER=5.7.8
823 -CONFIG_HASH=14d239184a721485a823f30f5aede1c6190558ad
824 -
825 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
826 -HOMEPAGE="https://www.kernel.org/"
827 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
828 - amd64? (
829 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
830 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
831 - )
832 - arm64? (
833 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
834 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
835 - )
836 - x86? (
837 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
838 - -> kernel-i686-fedora.config.${CONFIG_VER}
839 - )"
840 -S=${WORKDIR}/${MY_P}
841 -
842 -LICENSE="GPL-2"
843 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
844 -IUSE="debug"
845 -REQUIRED_USE="
846 - arm? ( savedconfig )"
847 -
848 -RDEPEND="
849 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
850 -BDEPEND="
851 - debug? ( dev-util/dwarves )"
852 -
853 -pkg_pretend() {
854 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
855 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
856 -
857 - kernel-install_pkg_pretend
858 -}
859 -
860 -src_prepare() {
861 - default
862 -
863 - # prepare the default config
864 - case ${ARCH} in
865 - amd64)
866 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
867 - ;;
868 - arm)
869 - return
870 - ;;
871 - arm64)
872 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
873 - ;;
874 - x86)
875 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
876 - ;;
877 - *)
878 - die "Unsupported arch ${ARCH}"
879 - ;;
880 - esac
881 -
882 - local config_tweaks=(
883 - # shove arch under the carpet!
884 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
885 - # we do support x32
886 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
887 - # disable signatures
888 - -e '/CONFIG_MODULE_SIG/d'
889 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
890 - )
891 - use debug || config_tweaks+=(
892 - -e '/CONFIG_DEBUG_INFO/d'
893 - )
894 - sed -i "${config_tweaks[@]}" .config || die
895 -}
896
897 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.19.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.19.ebuild
898 deleted file mode 100644
899 index da392ebe6f5..00000000000
900 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.19.ebuild
901 +++ /dev/null
902 @@ -1,83 +0,0 @@
903 -# Copyright 2020 Gentoo Authors
904 -# Distributed under the terms of the GNU General Public License v2
905 -
906 -EAPI=7
907 -
908 -inherit kernel-build
909 -
910 -MY_P=linux-${PV}
911 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
912 -CONFIG_VER=5.7.8
913 -CONFIG_HASH=14d239184a721485a823f30f5aede1c6190558ad
914 -
915 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
916 -HOMEPAGE="https://www.kernel.org/"
917 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
918 - amd64? (
919 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
920 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
921 - )
922 - arm64? (
923 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
924 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
925 - )
926 - x86? (
927 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
928 - -> kernel-i686-fedora.config.${CONFIG_VER}
929 - )"
930 -S=${WORKDIR}/${MY_P}
931 -
932 -LICENSE="GPL-2"
933 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
934 -IUSE="debug"
935 -REQUIRED_USE="
936 - arm? ( savedconfig )"
937 -
938 -RDEPEND="
939 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
940 -BDEPEND="
941 - debug? ( dev-util/dwarves )"
942 -
943 -pkg_pretend() {
944 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
945 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
946 -
947 - kernel-install_pkg_pretend
948 -}
949 -
950 -src_prepare() {
951 - default
952 -
953 - # prepare the default config
954 - case ${ARCH} in
955 - amd64)
956 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
957 - ;;
958 - arm)
959 - return
960 - ;;
961 - arm64)
962 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
963 - ;;
964 - x86)
965 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
966 - ;;
967 - *)
968 - die "Unsupported arch ${ARCH}"
969 - ;;
970 - esac
971 -
972 - local config_tweaks=(
973 - # shove arch under the carpet!
974 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
975 - # we do support x32
976 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
977 - # disable signatures
978 - -e '/CONFIG_MODULE_SIG/d'
979 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
980 - )
981 - use debug || config_tweaks+=(
982 - -e '/CONFIG_DEBUG_INFO/d'
983 - )
984 - sed -i "${config_tweaks[@]}" .config || die
985 -}
986
987 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.10.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.10.ebuild
988 deleted file mode 100644
989 index 540a5ea3c74..00000000000
990 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.10.ebuild
991 +++ /dev/null
992 @@ -1,127 +0,0 @@
993 -# Copyright 2020 Gentoo Authors
994 -# Distributed under the terms of the GNU General Public License v2
995 -
996 -EAPI=7
997 -
998 -inherit kernel-build
999 -
1000 -MY_P=linux-${PV}
1001 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
1002 -CONFIG_VER=5.8.5
1003 -CONFIG_HASH=af8da8d54d21231fd8c7b943216bb985f0a4e223
1004 -
1005 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
1006 -HOMEPAGE="https://www.kernel.org/"
1007 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
1008 - amd64? (
1009 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
1010 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
1011 - )
1012 - arm64? (
1013 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
1014 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
1015 - )
1016 - ppc64? (
1017 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
1018 - -> kernel-ppc64le-fedora.config.${CONFIG_VER}
1019 - )
1020 - x86? (
1021 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
1022 - -> kernel-i686-fedora.config.${CONFIG_VER}
1023 - )"
1024 -S=${WORKDIR}/${MY_P}
1025 -
1026 -LICENSE="GPL-2"
1027 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
1028 -IUSE="debug"
1029 -REQUIRED_USE="
1030 - arm? ( savedconfig )"
1031 -
1032 -RDEPEND="
1033 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
1034 -BDEPEND="
1035 - debug? ( dev-util/dwarves )"
1036 -
1037 -pkg_pretend() {
1038 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
1039 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
1040 -
1041 - kernel-install_pkg_pretend
1042 -}
1043 -
1044 -src_prepare() {
1045 - default
1046 -
1047 - # prepare the default config
1048 - case ${ARCH} in
1049 - amd64)
1050 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
1051 - ;;
1052 - arm)
1053 - return
1054 - ;;
1055 - arm64)
1056 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
1057 - ;;
1058 - ppc64)
1059 - cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
1060 - ;;
1061 - x86)
1062 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
1063 - ;;
1064 - *)
1065 - die "Unsupported arch ${ARCH}"
1066 - ;;
1067 - esac
1068 -
1069 - local config_tweaks=(
1070 - # replace (none) with gentoo
1071 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
1072 - # we do support x32
1073 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
1074 - # disable signatures
1075 - -e '/CONFIG_MODULE_SIG/d'
1076 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
1077 - -e '/CONFIG_KEXEC_SIG/d'
1078 - -e '/CONFIG_KEXEC_BZIMAGE_VERIFY_SIG/d'
1079 - -e '/CONFIG_SYSTEM_EXTRA_CERTIFICATE/d'
1080 - -e '/CONFIG_SIGNATURE/d'
1081 - # remove massive array of LSMs
1082 - -e 's/CONFIG_LSM=.*/CONFIG_LSM="yama"/'
1083 - -e 's/CONFIG_DEFAULT_SECURITY_SELINUX=y/CONFIG_DEFAULT_SECURITY_DAC=y/'
1084 - # nobody actually wants fips
1085 - -e '/CONFIG_CRYPTO_FIPS/d'
1086 - # these tests are really not necessary
1087 - -e 's/.*CONFIG_CRYPTO_MANAGER_DISABLE_TESTS.*/CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y/'
1088 - # probably not needed by anybody but developers
1089 - -e '/CONFIG_CRYPTO_STATS/d'
1090 - # 1000hz is excessive for laptops
1091 - -e 's/CONFIG_HZ_1000=y/CONFIG_HZ_300=y/'
1092 - # nobody is using this kernel on insane super computers
1093 - -e 's/CONFIG_NR_CPUS=.*/CONFIG_NR_CPUS=512/'
1094 - # we're not actually producing live patches for folks
1095 - -e 's/CONFIG_LIVEPATCH=y/CONFIG_LIVEPATCH=n/'
1096 - # this slows down networking in general
1097 - -e 's/CONFIG_IP_FIB_TRIE_STATS=y/CONFIG_IP_FIB_TRIE_STATS=n/'
1098 - # include font for normal and hidpi screens
1099 - -e 's/.*CONFIG_FONTS.*/CONFIG_FONTS=y\nCONFIG_FONT_8x16=y\nCONFIG_FONT_TER16x32=y/'
1100 - # we don't need to actually install system headers from this ebuild
1101 - -e '/CONFIG_HEADERS_INSTALL/d'
1102 - # enable /proc/config.gz, used by linux-info.eclass
1103 - -e '/CONFIG_IKCONFIG/s:.*:CONFIG_IKCONFIG=y\nCONFIG_IKCONFIG_PROC=y:'
1104 - )
1105 - use debug || config_tweaks+=(
1106 - -e '/CONFIG_DEBUG_INFO/d'
1107 - -e '/CONFIG_DEBUG_RODATA_TEST/d'
1108 - -e '/CONFIG_DEBUG_VM/d'
1109 - -e '/CONFIG_DEBUG_SHIRQ/d'
1110 - -e '/CONFIG_DEBUG_LIST/d'
1111 - -e '/CONFIG_BUG_ON_DATA_CORRUPTION/d'
1112 - -e '/CONFIG_TORTURE_TEST/d'
1113 - -e '/CONFIG_BOOTTIME_TRACING/d'
1114 - -e '/CONFIG_RING_BUFFER_BENCHMARK/d'
1115 - -e '/CONFIG_X86_DECODER_SELFTEST/d'
1116 - -e '/CONFIG_KGDB/d'
1117 - )
1118 - sed -i "${config_tweaks[@]}" .config || die
1119 -}
1120
1121 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.11.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.11.ebuild
1122 deleted file mode 100644
1123 index 540a5ea3c74..00000000000
1124 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.11.ebuild
1125 +++ /dev/null
1126 @@ -1,127 +0,0 @@
1127 -# Copyright 2020 Gentoo Authors
1128 -# Distributed under the terms of the GNU General Public License v2
1129 -
1130 -EAPI=7
1131 -
1132 -inherit kernel-build
1133 -
1134 -MY_P=linux-${PV}
1135 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
1136 -CONFIG_VER=5.8.5
1137 -CONFIG_HASH=af8da8d54d21231fd8c7b943216bb985f0a4e223
1138 -
1139 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
1140 -HOMEPAGE="https://www.kernel.org/"
1141 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
1142 - amd64? (
1143 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
1144 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
1145 - )
1146 - arm64? (
1147 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
1148 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
1149 - )
1150 - ppc64? (
1151 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
1152 - -> kernel-ppc64le-fedora.config.${CONFIG_VER}
1153 - )
1154 - x86? (
1155 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
1156 - -> kernel-i686-fedora.config.${CONFIG_VER}
1157 - )"
1158 -S=${WORKDIR}/${MY_P}
1159 -
1160 -LICENSE="GPL-2"
1161 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
1162 -IUSE="debug"
1163 -REQUIRED_USE="
1164 - arm? ( savedconfig )"
1165 -
1166 -RDEPEND="
1167 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
1168 -BDEPEND="
1169 - debug? ( dev-util/dwarves )"
1170 -
1171 -pkg_pretend() {
1172 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
1173 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
1174 -
1175 - kernel-install_pkg_pretend
1176 -}
1177 -
1178 -src_prepare() {
1179 - default
1180 -
1181 - # prepare the default config
1182 - case ${ARCH} in
1183 - amd64)
1184 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
1185 - ;;
1186 - arm)
1187 - return
1188 - ;;
1189 - arm64)
1190 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
1191 - ;;
1192 - ppc64)
1193 - cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
1194 - ;;
1195 - x86)
1196 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
1197 - ;;
1198 - *)
1199 - die "Unsupported arch ${ARCH}"
1200 - ;;
1201 - esac
1202 -
1203 - local config_tweaks=(
1204 - # replace (none) with gentoo
1205 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
1206 - # we do support x32
1207 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
1208 - # disable signatures
1209 - -e '/CONFIG_MODULE_SIG/d'
1210 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
1211 - -e '/CONFIG_KEXEC_SIG/d'
1212 - -e '/CONFIG_KEXEC_BZIMAGE_VERIFY_SIG/d'
1213 - -e '/CONFIG_SYSTEM_EXTRA_CERTIFICATE/d'
1214 - -e '/CONFIG_SIGNATURE/d'
1215 - # remove massive array of LSMs
1216 - -e 's/CONFIG_LSM=.*/CONFIG_LSM="yama"/'
1217 - -e 's/CONFIG_DEFAULT_SECURITY_SELINUX=y/CONFIG_DEFAULT_SECURITY_DAC=y/'
1218 - # nobody actually wants fips
1219 - -e '/CONFIG_CRYPTO_FIPS/d'
1220 - # these tests are really not necessary
1221 - -e 's/.*CONFIG_CRYPTO_MANAGER_DISABLE_TESTS.*/CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y/'
1222 - # probably not needed by anybody but developers
1223 - -e '/CONFIG_CRYPTO_STATS/d'
1224 - # 1000hz is excessive for laptops
1225 - -e 's/CONFIG_HZ_1000=y/CONFIG_HZ_300=y/'
1226 - # nobody is using this kernel on insane super computers
1227 - -e 's/CONFIG_NR_CPUS=.*/CONFIG_NR_CPUS=512/'
1228 - # we're not actually producing live patches for folks
1229 - -e 's/CONFIG_LIVEPATCH=y/CONFIG_LIVEPATCH=n/'
1230 - # this slows down networking in general
1231 - -e 's/CONFIG_IP_FIB_TRIE_STATS=y/CONFIG_IP_FIB_TRIE_STATS=n/'
1232 - # include font for normal and hidpi screens
1233 - -e 's/.*CONFIG_FONTS.*/CONFIG_FONTS=y\nCONFIG_FONT_8x16=y\nCONFIG_FONT_TER16x32=y/'
1234 - # we don't need to actually install system headers from this ebuild
1235 - -e '/CONFIG_HEADERS_INSTALL/d'
1236 - # enable /proc/config.gz, used by linux-info.eclass
1237 - -e '/CONFIG_IKCONFIG/s:.*:CONFIG_IKCONFIG=y\nCONFIG_IKCONFIG_PROC=y:'
1238 - )
1239 - use debug || config_tweaks+=(
1240 - -e '/CONFIG_DEBUG_INFO/d'
1241 - -e '/CONFIG_DEBUG_RODATA_TEST/d'
1242 - -e '/CONFIG_DEBUG_VM/d'
1243 - -e '/CONFIG_DEBUG_SHIRQ/d'
1244 - -e '/CONFIG_DEBUG_LIST/d'
1245 - -e '/CONFIG_BUG_ON_DATA_CORRUPTION/d'
1246 - -e '/CONFIG_TORTURE_TEST/d'
1247 - -e '/CONFIG_BOOTTIME_TRACING/d'
1248 - -e '/CONFIG_RING_BUFFER_BENCHMARK/d'
1249 - -e '/CONFIG_X86_DECODER_SELFTEST/d'
1250 - -e '/CONFIG_KGDB/d'
1251 - )
1252 - sed -i "${config_tweaks[@]}" .config || die
1253 -}
1254
1255 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.3.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.3.ebuild
1256 deleted file mode 100644
1257 index 9da43339c7d..00000000000
1258 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.3.ebuild
1259 +++ /dev/null
1260 @@ -1,83 +0,0 @@
1261 -# Copyright 2020 Gentoo Authors
1262 -# Distributed under the terms of the GNU General Public License v2
1263 -
1264 -EAPI=7
1265 -
1266 -inherit kernel-build
1267 -
1268 -MY_P=linux-${PV}
1269 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
1270 -CONFIG_VER=5.8.1
1271 -CONFIG_HASH=47a895f435cccb2cb14eb5d0c52d2f6d4d904907
1272 -
1273 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
1274 -HOMEPAGE="https://www.kernel.org/"
1275 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
1276 - amd64? (
1277 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
1278 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
1279 - )
1280 - arm64? (
1281 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
1282 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
1283 - )
1284 - x86? (
1285 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
1286 - -> kernel-i686-fedora.config.${CONFIG_VER}
1287 - )"
1288 -S=${WORKDIR}/${MY_P}
1289 -
1290 -LICENSE="GPL-2"
1291 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
1292 -IUSE="debug"
1293 -REQUIRED_USE="
1294 - arm? ( savedconfig )"
1295 -
1296 -RDEPEND="
1297 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
1298 -BDEPEND="
1299 - debug? ( dev-util/dwarves )"
1300 -
1301 -pkg_pretend() {
1302 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
1303 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
1304 -
1305 - kernel-install_pkg_pretend
1306 -}
1307 -
1308 -src_prepare() {
1309 - default
1310 -
1311 - # prepare the default config
1312 - case ${ARCH} in
1313 - amd64)
1314 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
1315 - ;;
1316 - arm)
1317 - return
1318 - ;;
1319 - arm64)
1320 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
1321 - ;;
1322 - x86)
1323 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
1324 - ;;
1325 - *)
1326 - die "Unsupported arch ${ARCH}"
1327 - ;;
1328 - esac
1329 -
1330 - local config_tweaks=(
1331 - # shove arch under the carpet!
1332 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
1333 - # we do support x32
1334 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
1335 - # disable signatures
1336 - -e '/CONFIG_MODULE_SIG/d'
1337 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
1338 - )
1339 - use debug || config_tweaks+=(
1340 - -e '/CONFIG_DEBUG_INFO/d'
1341 - )
1342 - sed -i "${config_tweaks[@]}" .config || die
1343 -}
1344
1345 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.4.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.4.ebuild
1346 deleted file mode 100644
1347 index 9da43339c7d..00000000000
1348 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.4.ebuild
1349 +++ /dev/null
1350 @@ -1,83 +0,0 @@
1351 -# Copyright 2020 Gentoo Authors
1352 -# Distributed under the terms of the GNU General Public License v2
1353 -
1354 -EAPI=7
1355 -
1356 -inherit kernel-build
1357 -
1358 -MY_P=linux-${PV}
1359 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
1360 -CONFIG_VER=5.8.1
1361 -CONFIG_HASH=47a895f435cccb2cb14eb5d0c52d2f6d4d904907
1362 -
1363 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
1364 -HOMEPAGE="https://www.kernel.org/"
1365 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
1366 - amd64? (
1367 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
1368 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
1369 - )
1370 - arm64? (
1371 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
1372 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
1373 - )
1374 - x86? (
1375 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
1376 - -> kernel-i686-fedora.config.${CONFIG_VER}
1377 - )"
1378 -S=${WORKDIR}/${MY_P}
1379 -
1380 -LICENSE="GPL-2"
1381 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
1382 -IUSE="debug"
1383 -REQUIRED_USE="
1384 - arm? ( savedconfig )"
1385 -
1386 -RDEPEND="
1387 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
1388 -BDEPEND="
1389 - debug? ( dev-util/dwarves )"
1390 -
1391 -pkg_pretend() {
1392 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
1393 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
1394 -
1395 - kernel-install_pkg_pretend
1396 -}
1397 -
1398 -src_prepare() {
1399 - default
1400 -
1401 - # prepare the default config
1402 - case ${ARCH} in
1403 - amd64)
1404 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
1405 - ;;
1406 - arm)
1407 - return
1408 - ;;
1409 - arm64)
1410 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
1411 - ;;
1412 - x86)
1413 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
1414 - ;;
1415 - *)
1416 - die "Unsupported arch ${ARCH}"
1417 - ;;
1418 - esac
1419 -
1420 - local config_tweaks=(
1421 - # shove arch under the carpet!
1422 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
1423 - # we do support x32
1424 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
1425 - # disable signatures
1426 - -e '/CONFIG_MODULE_SIG/d'
1427 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
1428 - )
1429 - use debug || config_tweaks+=(
1430 - -e '/CONFIG_DEBUG_INFO/d'
1431 - )
1432 - sed -i "${config_tweaks[@]}" .config || die
1433 -}
1434
1435 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.5.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.5.ebuild
1436 deleted file mode 100644
1437 index 44edb4bbe0f..00000000000
1438 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.5.ebuild
1439 +++ /dev/null
1440 @@ -1,83 +0,0 @@
1441 -# Copyright 2020 Gentoo Authors
1442 -# Distributed under the terms of the GNU General Public License v2
1443 -
1444 -EAPI=7
1445 -
1446 -inherit kernel-build
1447 -
1448 -MY_P=linux-${PV}
1449 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
1450 -CONFIG_VER=5.8.4
1451 -CONFIG_HASH=d5f320566eb00901161a51fbd50b5ebbc51f47be
1452 -
1453 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
1454 -HOMEPAGE="https://www.kernel.org/"
1455 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
1456 - amd64? (
1457 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
1458 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
1459 - )
1460 - arm64? (
1461 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
1462 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
1463 - )
1464 - x86? (
1465 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
1466 - -> kernel-i686-fedora.config.${CONFIG_VER}
1467 - )"
1468 -S=${WORKDIR}/${MY_P}
1469 -
1470 -LICENSE="GPL-2"
1471 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
1472 -IUSE="debug"
1473 -REQUIRED_USE="
1474 - arm? ( savedconfig )"
1475 -
1476 -RDEPEND="
1477 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
1478 -BDEPEND="
1479 - debug? ( dev-util/dwarves )"
1480 -
1481 -pkg_pretend() {
1482 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
1483 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
1484 -
1485 - kernel-install_pkg_pretend
1486 -}
1487 -
1488 -src_prepare() {
1489 - default
1490 -
1491 - # prepare the default config
1492 - case ${ARCH} in
1493 - amd64)
1494 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
1495 - ;;
1496 - arm)
1497 - return
1498 - ;;
1499 - arm64)
1500 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
1501 - ;;
1502 - x86)
1503 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
1504 - ;;
1505 - *)
1506 - die "Unsupported arch ${ARCH}"
1507 - ;;
1508 - esac
1509 -
1510 - local config_tweaks=(
1511 - # shove arch under the carpet!
1512 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
1513 - # we do support x32
1514 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
1515 - # disable signatures
1516 - -e '/CONFIG_MODULE_SIG/d'
1517 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
1518 - )
1519 - use debug || config_tweaks+=(
1520 - -e '/CONFIG_DEBUG_INFO/d'
1521 - )
1522 - sed -i "${config_tweaks[@]}" .config || die
1523 -}
1524
1525 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.6.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.6.ebuild
1526 deleted file mode 100644
1527 index 44edb4bbe0f..00000000000
1528 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.6.ebuild
1529 +++ /dev/null
1530 @@ -1,83 +0,0 @@
1531 -# Copyright 2020 Gentoo Authors
1532 -# Distributed under the terms of the GNU General Public License v2
1533 -
1534 -EAPI=7
1535 -
1536 -inherit kernel-build
1537 -
1538 -MY_P=linux-${PV}
1539 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
1540 -CONFIG_VER=5.8.4
1541 -CONFIG_HASH=d5f320566eb00901161a51fbd50b5ebbc51f47be
1542 -
1543 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
1544 -HOMEPAGE="https://www.kernel.org/"
1545 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
1546 - amd64? (
1547 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
1548 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
1549 - )
1550 - arm64? (
1551 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
1552 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
1553 - )
1554 - x86? (
1555 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
1556 - -> kernel-i686-fedora.config.${CONFIG_VER}
1557 - )"
1558 -S=${WORKDIR}/${MY_P}
1559 -
1560 -LICENSE="GPL-2"
1561 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
1562 -IUSE="debug"
1563 -REQUIRED_USE="
1564 - arm? ( savedconfig )"
1565 -
1566 -RDEPEND="
1567 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
1568 -BDEPEND="
1569 - debug? ( dev-util/dwarves )"
1570 -
1571 -pkg_pretend() {
1572 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
1573 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
1574 -
1575 - kernel-install_pkg_pretend
1576 -}
1577 -
1578 -src_prepare() {
1579 - default
1580 -
1581 - # prepare the default config
1582 - case ${ARCH} in
1583 - amd64)
1584 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
1585 - ;;
1586 - arm)
1587 - return
1588 - ;;
1589 - arm64)
1590 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
1591 - ;;
1592 - x86)
1593 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
1594 - ;;
1595 - *)
1596 - die "Unsupported arch ${ARCH}"
1597 - ;;
1598 - esac
1599 -
1600 - local config_tweaks=(
1601 - # shove arch under the carpet!
1602 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
1603 - # we do support x32
1604 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
1605 - # disable signatures
1606 - -e '/CONFIG_MODULE_SIG/d'
1607 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
1608 - )
1609 - use debug || config_tweaks+=(
1610 - -e '/CONFIG_DEBUG_INFO/d'
1611 - )
1612 - sed -i "${config_tweaks[@]}" .config || die
1613 -}
1614
1615 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.7.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.7.ebuild
1616 deleted file mode 100644
1617 index 6a8a305fb00..00000000000
1618 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.7.ebuild
1619 +++ /dev/null
1620 @@ -1,90 +0,0 @@
1621 -# Copyright 2020 Gentoo Authors
1622 -# Distributed under the terms of the GNU General Public License v2
1623 -
1624 -EAPI=7
1625 -
1626 -inherit kernel-build
1627 -
1628 -MY_P=linux-${PV}
1629 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
1630 -CONFIG_VER=5.8.5
1631 -CONFIG_HASH=af8da8d54d21231fd8c7b943216bb985f0a4e223
1632 -
1633 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
1634 -HOMEPAGE="https://www.kernel.org/"
1635 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
1636 - amd64? (
1637 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
1638 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
1639 - )
1640 - arm64? (
1641 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
1642 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
1643 - )
1644 - ppc64? (
1645 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
1646 - -> kernel-ppc64le-fedora.config.${CONFIG_VER}
1647 - )
1648 - x86? (
1649 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
1650 - -> kernel-i686-fedora.config.${CONFIG_VER}
1651 - )"
1652 -S=${WORKDIR}/${MY_P}
1653 -
1654 -LICENSE="GPL-2"
1655 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
1656 -IUSE="debug"
1657 -REQUIRED_USE="
1658 - arm? ( savedconfig )"
1659 -
1660 -RDEPEND="
1661 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
1662 -BDEPEND="
1663 - debug? ( dev-util/dwarves )"
1664 -
1665 -pkg_pretend() {
1666 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
1667 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
1668 -
1669 - kernel-install_pkg_pretend
1670 -}
1671 -
1672 -src_prepare() {
1673 - default
1674 -
1675 - # prepare the default config
1676 - case ${ARCH} in
1677 - amd64)
1678 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
1679 - ;;
1680 - arm)
1681 - return
1682 - ;;
1683 - arm64)
1684 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
1685 - ;;
1686 - ppc64)
1687 - cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
1688 - ;;
1689 - x86)
1690 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
1691 - ;;
1692 - *)
1693 - die "Unsupported arch ${ARCH}"
1694 - ;;
1695 - esac
1696 -
1697 - local config_tweaks=(
1698 - # shove arch under the carpet!
1699 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
1700 - # we do support x32
1701 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
1702 - # disable signatures
1703 - -e '/CONFIG_MODULE_SIG/d'
1704 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
1705 - )
1706 - use debug || config_tweaks+=(
1707 - -e '/CONFIG_DEBUG_INFO/d'
1708 - )
1709 - sed -i "${config_tweaks[@]}" .config || die
1710 -}
1711
1712 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.8.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.8.ebuild
1713 deleted file mode 100644
1714 index 73a7dd553f6..00000000000
1715 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.8.ebuild
1716 +++ /dev/null
1717 @@ -1,128 +0,0 @@
1718 -# Copyright 2020 Gentoo Authors
1719 -# Distributed under the terms of the GNU General Public License v2
1720 -
1721 -EAPI=7
1722 -
1723 -inherit kernel-build
1724 -
1725 -MY_P=linux-${PV}
1726 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
1727 -CONFIG_VER=5.8.5
1728 -CONFIG_HASH=af8da8d54d21231fd8c7b943216bb985f0a4e223
1729 -
1730 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
1731 -HOMEPAGE="https://www.kernel.org/"
1732 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
1733 - amd64? (
1734 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
1735 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
1736 - )
1737 - arm64? (
1738 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
1739 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
1740 - )
1741 - ppc64? (
1742 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
1743 - -> kernel-ppc64le-fedora.config.${CONFIG_VER}
1744 - )
1745 - x86? (
1746 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
1747 - -> kernel-i686-fedora.config.${CONFIG_VER}
1748 - )"
1749 -S=${WORKDIR}/${MY_P}
1750 -
1751 -LICENSE="GPL-2"
1752 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
1753 -IUSE="debug"
1754 -REQUIRED_USE="
1755 - arm? ( savedconfig )"
1756 -
1757 -RDEPEND="
1758 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
1759 -BDEPEND="
1760 - debug? ( dev-util/dwarves )"
1761 -
1762 -pkg_pretend() {
1763 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
1764 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
1765 -
1766 - kernel-install_pkg_pretend
1767 -}
1768 -
1769 -src_prepare() {
1770 - default
1771 -
1772 - # prepare the default config
1773 - case ${ARCH} in
1774 - amd64)
1775 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
1776 - ;;
1777 - arm)
1778 - return
1779 - ;;
1780 - arm64)
1781 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
1782 - ;;
1783 - ppc64)
1784 - cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
1785 - ;;
1786 - x86)
1787 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
1788 - ;;
1789 - *)
1790 - die "Unsupported arch ${ARCH}"
1791 - ;;
1792 - esac
1793 -
1794 - local config_tweaks=(
1795 - # replace (none) with gentoo
1796 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
1797 - # we do support x32
1798 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
1799 - # disable signatures
1800 - -e '/CONFIG_MODULE_SIG/d'
1801 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
1802 - -e '/CONFIG_KEXEC_SIG/d'
1803 - -e '/CONFIG_KEXEC_BZIMAGE_VERIFY_SIG/d'
1804 - -e '/CONFIG_SYSTEM_EXTRA_CERTIFICATE/d'
1805 - -e '/CONFIG_SIGNATURE/d'
1806 - # remove massive array of LSMs
1807 - -e 's/CONFIG_LSM=.*/CONFIG_LSM="yama"/'
1808 - -e 's/CONFIG_DEFAULT_SECURITY_SELINUX=y/CONFIG_DEFAULT_SECURITY_DAC=y/'
1809 - # nobody actually wants fips
1810 - -e '/CONFIG_CRYPTO_FIPS/d'
1811 - # these tests are really not necessary
1812 - -e 's/.*CONFIG_CRYPTO_MANAGER_DISABLE_TESTS.*/CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y/'
1813 - # probably not needed by anybody but developers
1814 - -e '/CONFIG_CRYPTO_STATS/d'
1815 - # 1000hz is excessive for laptops
1816 - -e 's/CONFIG_HZ_1000=y/CONFIG_HZ_300=y/'
1817 - # nobody is using this kernel on insane super computers
1818 - -e 's/CONFIG_NR_CPUS=.*/CONFIG_NR_CPUS=512/'
1819 - # we're not actually producing live patches for folks
1820 - -e 's/CONFIG_LIVEPATCH=y/CONFIG_LIVEPATCH=n/'
1821 - # this slows down networking in general
1822 - -e 's/CONFIG_IP_FIB_TRIE_STATS=y/CONFIG_IP_FIB_TRIE_STATS=n/'
1823 - # include font for normal and hidpi screens
1824 - -e 's/.*CONFIG_FONTS.*/CONFIG_FONTS=y\nCONFIG_FONT_8x16=y\nCONFIG_FONT_TER16x32=y/'
1825 - # we don't need to actually install system headers from this ebuild
1826 - -e '/CONFIG_HEADERS_INSTALL/d'
1827 - # enable /proc/config.gz, used by linux-info.eclass
1828 - -e '/CONFIG_IKCONFIG/s:.*:CONFIG_IKCONFIG=y:'
1829 - -e '/CONFIG_IKCONFIG_PROC/s:.*:CONFIG_IKCONFIG_PROC=y:'
1830 - )
1831 - use debug || config_tweaks+=(
1832 - -e '/CONFIG_DEBUG_INFO/d'
1833 - -e '/CONFIG_DEBUG_RODATA_TEST/d'
1834 - -e '/CONFIG_DEBUG_VM/d'
1835 - -e '/CONFIG_DEBUG_SHIRQ/d'
1836 - -e '/CONFIG_DEBUG_LIST/d'
1837 - -e '/CONFIG_BUG_ON_DATA_CORRUPTION/d'
1838 - -e '/CONFIG_TORTURE_TEST/d'
1839 - -e '/CONFIG_BOOTTIME_TRACING/d'
1840 - -e '/CONFIG_RING_BUFFER_BENCHMARK/d'
1841 - -e '/CONFIG_X86_DECODER_SELFTEST/d'
1842 - -e '/CONFIG_KGDB/d'
1843 - )
1844 - sed -i "${config_tweaks[@]}" .config || die
1845 -}
1846
1847 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.9.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.9.ebuild
1848 deleted file mode 100644
1849 index 540a5ea3c74..00000000000
1850 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.9.ebuild
1851 +++ /dev/null
1852 @@ -1,127 +0,0 @@
1853 -# Copyright 2020 Gentoo Authors
1854 -# Distributed under the terms of the GNU General Public License v2
1855 -
1856 -EAPI=7
1857 -
1858 -inherit kernel-build
1859 -
1860 -MY_P=linux-${PV}
1861 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
1862 -CONFIG_VER=5.8.5
1863 -CONFIG_HASH=af8da8d54d21231fd8c7b943216bb985f0a4e223
1864 -
1865 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
1866 -HOMEPAGE="https://www.kernel.org/"
1867 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
1868 - amd64? (
1869 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
1870 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
1871 - )
1872 - arm64? (
1873 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
1874 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
1875 - )
1876 - ppc64? (
1877 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
1878 - -> kernel-ppc64le-fedora.config.${CONFIG_VER}
1879 - )
1880 - x86? (
1881 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
1882 - -> kernel-i686-fedora.config.${CONFIG_VER}
1883 - )"
1884 -S=${WORKDIR}/${MY_P}
1885 -
1886 -LICENSE="GPL-2"
1887 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
1888 -IUSE="debug"
1889 -REQUIRED_USE="
1890 - arm? ( savedconfig )"
1891 -
1892 -RDEPEND="
1893 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
1894 -BDEPEND="
1895 - debug? ( dev-util/dwarves )"
1896 -
1897 -pkg_pretend() {
1898 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
1899 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
1900 -
1901 - kernel-install_pkg_pretend
1902 -}
1903 -
1904 -src_prepare() {
1905 - default
1906 -
1907 - # prepare the default config
1908 - case ${ARCH} in
1909 - amd64)
1910 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
1911 - ;;
1912 - arm)
1913 - return
1914 - ;;
1915 - arm64)
1916 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
1917 - ;;
1918 - ppc64)
1919 - cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
1920 - ;;
1921 - x86)
1922 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
1923 - ;;
1924 - *)
1925 - die "Unsupported arch ${ARCH}"
1926 - ;;
1927 - esac
1928 -
1929 - local config_tweaks=(
1930 - # replace (none) with gentoo
1931 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
1932 - # we do support x32
1933 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
1934 - # disable signatures
1935 - -e '/CONFIG_MODULE_SIG/d'
1936 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
1937 - -e '/CONFIG_KEXEC_SIG/d'
1938 - -e '/CONFIG_KEXEC_BZIMAGE_VERIFY_SIG/d'
1939 - -e '/CONFIG_SYSTEM_EXTRA_CERTIFICATE/d'
1940 - -e '/CONFIG_SIGNATURE/d'
1941 - # remove massive array of LSMs
1942 - -e 's/CONFIG_LSM=.*/CONFIG_LSM="yama"/'
1943 - -e 's/CONFIG_DEFAULT_SECURITY_SELINUX=y/CONFIG_DEFAULT_SECURITY_DAC=y/'
1944 - # nobody actually wants fips
1945 - -e '/CONFIG_CRYPTO_FIPS/d'
1946 - # these tests are really not necessary
1947 - -e 's/.*CONFIG_CRYPTO_MANAGER_DISABLE_TESTS.*/CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y/'
1948 - # probably not needed by anybody but developers
1949 - -e '/CONFIG_CRYPTO_STATS/d'
1950 - # 1000hz is excessive for laptops
1951 - -e 's/CONFIG_HZ_1000=y/CONFIG_HZ_300=y/'
1952 - # nobody is using this kernel on insane super computers
1953 - -e 's/CONFIG_NR_CPUS=.*/CONFIG_NR_CPUS=512/'
1954 - # we're not actually producing live patches for folks
1955 - -e 's/CONFIG_LIVEPATCH=y/CONFIG_LIVEPATCH=n/'
1956 - # this slows down networking in general
1957 - -e 's/CONFIG_IP_FIB_TRIE_STATS=y/CONFIG_IP_FIB_TRIE_STATS=n/'
1958 - # include font for normal and hidpi screens
1959 - -e 's/.*CONFIG_FONTS.*/CONFIG_FONTS=y\nCONFIG_FONT_8x16=y\nCONFIG_FONT_TER16x32=y/'
1960 - # we don't need to actually install system headers from this ebuild
1961 - -e '/CONFIG_HEADERS_INSTALL/d'
1962 - # enable /proc/config.gz, used by linux-info.eclass
1963 - -e '/CONFIG_IKCONFIG/s:.*:CONFIG_IKCONFIG=y\nCONFIG_IKCONFIG_PROC=y:'
1964 - )
1965 - use debug || config_tweaks+=(
1966 - -e '/CONFIG_DEBUG_INFO/d'
1967 - -e '/CONFIG_DEBUG_RODATA_TEST/d'
1968 - -e '/CONFIG_DEBUG_VM/d'
1969 - -e '/CONFIG_DEBUG_SHIRQ/d'
1970 - -e '/CONFIG_DEBUG_LIST/d'
1971 - -e '/CONFIG_BUG_ON_DATA_CORRUPTION/d'
1972 - -e '/CONFIG_TORTURE_TEST/d'
1973 - -e '/CONFIG_BOOTTIME_TRACING/d'
1974 - -e '/CONFIG_RING_BUFFER_BENCHMARK/d'
1975 - -e '/CONFIG_X86_DECODER_SELFTEST/d'
1976 - -e '/CONFIG_KGDB/d'
1977 - )
1978 - sed -i "${config_tweaks[@]}" .config || die
1979 -}