diff options
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
10 files changed, 1064 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index dca01c6a448e..d886b1626881 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -6,16 +6,22 @@ DIST genpatches-5.10-47.base.tar.xz 1555884 BLAKE2B a4078ace7edfd91eb3ec2f63cb12 DIST genpatches-5.10-47.extras.tar.xz 3412 BLAKE2B 779b0a8bb908156bc902106a98e4308b3ebfe42ecfd5d651aab4dbb95c0ee890e353d26d51e1fdb7c7305419e8eda5103a01405be5b015ebeccde869798c68a4 SHA512 dadec8511140903f38e7d6657f3e8b750382cbb18271448d3d23a03962b0ceb4b70950d6dfdb643fc2223f53254b824a04d2eec540626a20a50b998a9ddfdc13 DIST genpatches-5.10-48.base.tar.xz 1580692 BLAKE2B 85f19398f7a3967b471077c1957aa21ee6b34c1a0876ae6a64e5aaecec7a9c91274eeab73574e22961dd8f8e19bc4a69f4fcfb26e9809287ef0da964f64bd69c SHA512 20b894e85f002b057377b7685bc4a957ff1a2990ee6bf94d1db9e8ea1a3e9d20478445ae5aaaf005269505599c4a9b9b26a4ea7129d3c5e2ad18a530c4b6f5eb DIST genpatches-5.10-48.extras.tar.xz 3408 BLAKE2B 6f347e53aa1eabf134fdd4f234d794820d9aedf126084615fe5eaf29c8e8f30828678b9df544ed39a9ea47e9bd9e5b1a93ea94a90a7aaf1234354cdd011cbabb SHA512 3d19cb7079c56c7675a16302c272a1da1b72b902d66f341428747aa12d1fbf949366e12ed5501bc15d92ca89eb93b32eea283156ac5317a75f11806907e55cad +DIST genpatches-5.10-49.base.tar.xz 1588092 BLAKE2B d31ab75b6106e81654a69d1d0cb1d765cad83fcdb20a4cad9bf44749146aeb4c19cb6c8bb743b26ec48cb6439c64f8b3af9011468ba6b140dfcdd00adf14286f SHA512 cf6973eed088a99b9e9bc5822f87e75bec61f94207a783f25ec5e835fde565dfbc04fe3dc5c6709f213479b86bbfab26003661108607a17df0169ee2ae5f43c3 +DIST genpatches-5.10-49.extras.tar.xz 3412 BLAKE2B 3feb28c887152586b0e5c282e898d447451cdc7b0dcd0749d69890b72fc1d38f9a0a9dfe62d09c8f37ee198ff809edd949137503dafbd63120b566a837c83e32 SHA512 dc916a8848358891c749ab2853d49a2e5a3e7cc0c696b4f523902c5526fe3463730209bcd9a229dea86ed628a8da63b16316b565752e4eba6ee68381af92b6c7 DIST genpatches-5.12-11.base.tar.xz 611232 BLAKE2B af0db172fa831bc84b1935d387e3d7b360c5a94d8499b6fa204f21b7a822c844e88a87f4a2724d0b8b508676ee564dbbe304893bfdd3197d67c8f6aeae011cb2 SHA512 f422bc1aca29732db09184ca2fcf7478536a87e73b59325f063c73103c8ce425858baa78b185eab61a80dda15e3818b45a669c69f7898382aa3563b315ad45b3 DIST genpatches-5.12-11.extras.tar.xz 3412 BLAKE2B 2eba600cd1e769a7252b063968b87cf5f54f285f791f84089fd1f3060e3400a76dd645841bbb213830cedf274e41959ed48cbee081d556c82f059e2a3de4db51 SHA512 2bc29ba1aa4b71b2407906f2c86339eb15fb124f964ddd3fa9f4a39dd94ac18fc95d0780cf1fdb99286b1a27aa88ada32665feffd9a3ca7f53bfb66f0212e7e2 DIST genpatches-5.12-12.base.tar.xz 650292 BLAKE2B 81b5a3b95390522c328acdb390fd1e8515028e55dee9a3693992ce2aa5c2defcea37b14c385d72e0c6a9b31f239c7d02eea45e4428332f477e897fa94c02d71e SHA512 bea0fee6fade3b1322a52ec2201b828ab28bfb3c0528ea562ac7e3cfaebeb758b971820a2b1ba695dafe219ceb2548c07713b3684491b893e6055ce4f8943916 DIST genpatches-5.12-12.extras.tar.xz 3412 BLAKE2B 8fcf6c407be25db368dbb3e6be3907d3431228b5c39819dba7c67d61e5171a7ad9a86f3e117b99b9e0d626219ad9db0938c15c4b96c934b88f693a3e9661d458 SHA512 39750768e4822ea8e3f88540fc8ebad9fd721e2a3a8703102d58e30513b47069cb8a77e15e41d0f90d1d69053007bd476ce0741cd3135a428d039ebd426cdc57 +DIST genpatches-5.12-13.base.tar.xz 661044 BLAKE2B f9b14633dd2895fab6d47ccf99d425b4d4c260c58bd2511c8166fc440c1cff337711b805b2ef76f787c6232115df96ec9706a3c1e65e6bc2c8a8b6dd1436dc0f SHA512 8039f529138bcc3b8a485b25a16b1f436b7756d91c018a70a6f6951dc7ce329a1f8441bad90ede66329283ee6ee314c22411e283bb76f46d0ad9e03b0a8e2b24 +DIST genpatches-5.12-13.extras.tar.xz 3412 BLAKE2B abef35f4ac38e4b0ab7863376e72534c27d32f3b974f4368be54c0d9ace766749ca4334f7622b2963e1dd51a05f1262d58f7de03ed8d0a73c3f2b68a2b48ab76 SHA512 72bb3380b6382938d9b3957e4f47267616b8dd50d7a4991750b131c844c882b1d67801fd917c89444bde9d875cdfdf9d8e25bda079d5d97f42af7c2655343f61 DIST genpatches-5.4-123.base.tar.xz 3488228 BLAKE2B 0fe5c3056c3cb060f4921e3b7a4046e03e4e777d033619f0496eda68c645c6209fb07713a4bc2565000f9c17e6203a8bc5392fc597dd49167bb0348988b53026 SHA512 e71b8f9d622d3ea2fa8165a39a27240ac007d899d7324c60240221d7761c1287f14b631b074536460702922b8daf00bc2714358aaf7f69ac257af7d5d5b18bd1 DIST genpatches-5.4-123.extras.tar.xz 1772 BLAKE2B da9bc0d9513d010364506850d1c23d13e1a1ef8c4cb8d60e3430d12f4cc2ea87a74643ba9fa1a061eabdee9985b1931aab1b2587ee26bec9b2cf165b90fe83e5 SHA512 ff3b417825ba200b32abf888b6cf6e8d754526e57a30c06fbe4f961c84f67cd921b93b9848fc6b49f120b4cf8ddba9284755da73869db35327af7549d63f3cd1 DIST genpatches-5.4-128.base.tar.xz 3571424 BLAKE2B a58c2b8f20730c3357ce30cbc8b24f0609bd7ca2a8f5d37780cfbe4edb560fa49bcf1925ec40dbf61aebfe9a87be0f35ade4b999509420eb0caf5731ce649e89 SHA512 c84d65acdc4274b528306af958b0c72851fdce008c9ed6f78965ea22f09f8668b6075cfda9101b2e7a7bc55ccea64491000b1aede8cffa4ad927c7c1bb003489 DIST genpatches-5.4-128.extras.tar.xz 1772 BLAKE2B 3af29c49caf9303615ee76319d3da53295281e8fcaee54d37b122e47b745ded99a109db2eb31508dbe83a5997b7973287297d29af2ddd475bdab1a0bc05a1045 SHA512 27eb4d3327e24acd5f4601281f624439ff47bc6173ab58b23ab162a42df66bd02402f2e4f4e97a49b0b0b788b615869dc4a0dc3ce964247ff7bc6166fd9dc6c4 DIST genpatches-5.4-129.base.tar.xz 3586716 BLAKE2B c5be8295127bc1c16c1d24feea5793f7f52b1be2ff48db6494674430bcd608a1e0950da553e7c5418ffc70e8909da5158d54877412fcb1afdbe34733fd54f207 SHA512 0ffb95795a9300962cb4ab7c017859ceff7ea6322ad59592b4dfe98ef56fb86db9bd8bf5c243cef93a0502c849f2c466f33efa1df420126199f7fd0650dea3b2 DIST genpatches-5.4-129.extras.tar.xz 1772 BLAKE2B aae80fd4b863f4a2552caf05fced29209f840d22b5bb9fa3eacd06ee7348e0fbee023512e331e3b2f515341ac9354fb7bd1f4e79e38be3a7d8696eaf257a547c SHA512 f0392e91fcf8402cf6d94bbc42b89bbbc028959c1e5243b5cd8e608950539ac81ba62836a1c7755ec01dcd7f8549c9c1898adb24c8a3c7c1a5d5e866cd7ef0dd +DIST genpatches-5.4-130.base.tar.xz 3592548 BLAKE2B b88b67f8e4f214a1bb7c35128b57f55579a3f5aeaae5d46f7ff4b229cf4f4e2f9c248d0f6c792793f60961a3493e091f74fdf48f14b0edccbf162f749fafa203 SHA512 6dd6c0ccb7cdcd72051da86eb3b89881e98f44b215431220445af892bffb79d73ff0af67168432e597e08dbf46996a250782c74fb9bbb3945d05527df208df5c +DIST genpatches-5.4-130.extras.tar.xz 1772 BLAKE2B c1754871b41af183a22e9c30cdae5332ac9fbc104c6daa978796d15446c83acced9c9a2f55ed44d27787f33bef69f0ef885ce7642183b54d32924905c881fa1f SHA512 0bf0917a43e3ce3945317cf698e74af72bc83270c81e5ddb7d6ac3705310ef6935a54b0732d1f302b49d6c7c1275550a341a52d490ce7f4ff5f6c9702e9138c0 DIST gentoo-kernel-5.10.38-1.amd64.xpak 65538346 BLAKE2B 76d5e8b10d970fc54d1dcb5d21702a1726e91cc9e8076b4d2372aec073798a23335271859f1a950b87243367cd8d7f346e3a782f01a83f04cb8c26686cb222a0 SHA512 0f6077e98326eb33a602c7bb76641f4ba43f6c9510b8ae729e0ef134f915727eb556b7d6123ec79ec648b36b242a545f6e98515d1586d7612491c4e14bc9cf87 DIST gentoo-kernel-5.10.38-1.arm64.xpak 59263514 BLAKE2B 38a1a90a97261a72cf285351c5a3cefc352d306933616bb874408c788b4fa7b3d9746a25d75e77729931fb1dc28e9279b20f22936f95c354100e7d08c90c1156 SHA512 041defc35d7d94bb3890cb8b9a402465927d6a9bce07a2443ad720a8dc210cc67028be067be29bd1c64c0a2f6d55a4512cae4442fb4db63446911de799090af5 DIST gentoo-kernel-5.10.38-1.x86.xpak 57251643 BLAKE2B 398526f7c368f91ed6d3043483a48988730fb9ee928b9eff3b7495cdd5ec0bada1f8b81895ecde852dc0832b97dadb4dd4ec1f2304e273e664d4d18bd90af57a SHA512 5477ac06ecaf2ffec60befee3d09f358461b423744f03f6c9d90b4528c032602e29a1df862c65525bd076806735764d312e7a277faadf63053b3d7a3fc818c48 @@ -23,12 +29,20 @@ DIST gentoo-kernel-5.10.43-1.amd64.xpak 65520009 BLAKE2B 9d71c795fe52691e17dccad DIST gentoo-kernel-5.10.43-1.arm64.xpak 61590121 BLAKE2B d55c9cb746f754ecdf1c12cd814dee77c444a86f94c9bfe15a566c7f7ee2e19b8674c5ac0fecc5042137de87e7af7102ffa4721ab282eaed3584ab46c99f669d SHA512 e8f84d16e506786be5fbaef1171283864292899338ec44e0408d960dd56a8cb87b91282879e39cb7e5dc0756aa3d76b551eb157b0f46f72b6cc119853450f42e DIST gentoo-kernel-5.10.43-1.x86.xpak 57258100 BLAKE2B 09b65aadff24fa8997c3e63a5935d228e67292293fbd664c833391708a073781954c8676ae59cf61b19af9b25ccf248297405fc96bbda296da77073fb74dd623 SHA512 08bb9c6cd4d62fd75407877e793812906210e8cb9f0f71c4f9ea8d81f62679461511df601fbf78618a1654b10d3784aba3a242afd68f056631537daddfeb741d DIST gentoo-kernel-5.10.44-1.amd64.xpak 65489526 BLAKE2B 705a0b9ed1fb7d38f0cf32b1c8babcb62db42ccdd389294dc107a81ae466abac01666715f547ddfd44e97493ecbd37b57c0a2490e776faf6da6a1dfa5a4b9a79 SHA512 0d3a14cc22704eb811025cc1c26ecffac5c6cf4c7b9b074b10e70a7430fc33858a0644f6e79abf311d560a131d673fd3d02188f1c9f80e4e8f3c9e192b50e091 +DIST gentoo-kernel-5.10.44-1.arm64.xpak 59235832 BLAKE2B def6fe6ff8574d07c43032b7836fac56db19069aaef79455da649e62036a3d9e28f8fe49299eda9c9662c11317f96396de74f91d52ac6074e37ded58b532921e SHA512 382f164b45c918ed340cdc81c93d98750e85e5d4eb5c8cc0f2a76d782352a73a9c3bc4472cf535a85f9e39651495e6725100e4b0170e53e693c31b3c5a80bcef DIST gentoo-kernel-5.10.44-1.x86.xpak 57201843 BLAKE2B 860cf1f1243722b9f446cb56dd5ff4a4a750f154d468d0b418af8d4d9775cfd5ea0e1bbc2a5232b4c5a1321b0643cd2d89c0625c506c23b3f7149701debeccc3 SHA512 a46300fdb0230f52765fe683afb6f447b8f58169a242bcf5edeb4f5de501d6eca5effb7b952c1339b25c24a39262d085429670a470756535d1f3ccc4b648b357 +DIST gentoo-kernel-5.10.45-1.amd64.xpak 65488471 BLAKE2B 81d1b308c05d0a2ef3da8832514b371b2565dd1f03eb2aebda7e730f506b800a48fc9d03eab968aed099c8a7fc415df3d9debe574d278ccebad685c4c7f16624 SHA512 4098f1891bbb45f8f465fe34427019de00218021b96bed8a86c8c0bae039c228ba4434b57f09e4e9fe72aebb25aada333cb43ec5d627e2f8a972cd031a887d26 +DIST gentoo-kernel-5.10.45-1.arm64.xpak 59270155 BLAKE2B a1d78e6e9c32475c565974f9d18eaf30deaaeae3fd1209775b8d606c233c65bc21d3c9179e4be49396e740fbe105526d47b5f0dbc0d32f90dfd4ef078888a210 SHA512 246e7ac8584eac7568c666ca572b001ff7f94c3ccf9bd96833d69c695c1591ad89cf7c8be9bcd0dca5917ff7a28da4ec248347792b7b7d329eb8bb9c12488815 +DIST gentoo-kernel-5.10.45-1.x86.xpak 57212061 BLAKE2B 9fb4a758766b3ef0c9c0ed2229169930b761943cef6aecd5d82dbf60a70a92b4c9c40e20a237738e36ea35c887e46cb2898c9ba1c770e357910427c023e2eee3 SHA512 7e6abec71f771283e43ddd5a647843918f3aa979fcda6c336bf1f797ed1f8e144e9b8468166d6ef6c82652bba403d776280f7c21366a14459fbd4c5e2966c8ec DIST gentoo-kernel-5.12.10-1.amd64.xpak 66370289 BLAKE2B 74f9046d711902b5cb650c0c1eac07f4dab42037fc93ee3f9ec70b14a708d1244ec65d54e11e1ab169384bdf2663816dba33e58d22853f30133341296ce65db8 SHA512 e42a2d5122d17a6abfe75c17585e96d0fcb87ab21dd3bfbddce6f22c7b73b66daf358b642c4b3658d2d5e43a3c586da5bd48e90e00520ec2cbd696493510f410 DIST gentoo-kernel-5.12.10-1.arm64.xpak 62567249 BLAKE2B e20ff0b59f3f0781cbb7d1a2eb290e46cdb8fc0f4aa189bb70f7ad5d02b54a5a30bdb3d91c779bfdb04daf01efe5c85376c4a3faa52cead80743aae588993e26 SHA512 ee5daf6872844476018ddab8445e3dbd25d1585a8cd2b6195028b8f8690cb262befcfdef3e0267a422f30c4ca0036dd6c985331cbacdc0c8e79f9c7c9755f4ba DIST gentoo-kernel-5.12.10-1.x86.xpak 58113734 BLAKE2B 093fc8ae00efefb2eb38cd0ce145f16e046be2f5110ad18d957ae122b97a1d4a6e6d8cce4c42f53ece1dabe9ebd99640c922686a8a00f7186bdc5f8b82f44144 SHA512 5c58a7277e1c3b1017ead2584dd6c768b2b4476f0da0c3dbd28facec64c1f37a3db9119d869720f6f63e3e1c53ffb8d69efef8f5008e0a71f8f55098d2ce9d83 DIST gentoo-kernel-5.12.11-1.amd64.xpak 66335668 BLAKE2B eb8860e2dc03a9b8b0b350ffd84d2fac5a00ef144b57a3bb2623f1d7cf46c965509c026e92c706b6ef4c3fe32ed8c48bb525b434e928eb6ff8702bdf2744b598 SHA512 e6ebde7de77315b1e0f85e6e2e8b76caec0218bffcb9e9e3f563abb6c792c2fdd62e5c30e6b25e1c9b2ec4d095e7a02479293a0f7e7b6ed6a258b6aebe102d85 +DIST gentoo-kernel-5.12.11-1.arm64.xpak 60224274 BLAKE2B 2a3d2b3a5e1ae0f561c1fd41297f06f13ef7c68e6f8e3c8192253b888f8f738e7adcb98dfd5b4e246e951af7a5f1c2ed19fd2b6f423701c2651ccb1ffd5a0dd6 SHA512 b9d494dd138dfde68a71605f61b2f8d28236bcd0c836950c417c82c26335bc238c12cc0e09b752db12b9bfd5553eef56169f3809af35021756888e39cddf7029 DIST gentoo-kernel-5.12.11-1.x86.xpak 58070750 BLAKE2B 9e5c5e03bde9f2c707c9914d620d9c12fc148088b57ea89cf06922c3111058979ef4a9b2a6332a29b7a563cdabaf9c350da5e7048ad2995cd4274f8daa0fa895 SHA512 95e96a56c9ad5820545e3f085ababbe12daf9dd4582088f86a0a33dca45694c9290d1b65f13097b2e0729cf94a06b3e99500561c868bed3dc45d956970c03f71 +DIST gentoo-kernel-5.12.12-1.amd64.xpak 66332975 BLAKE2B c1ff082fa8e12ad8faab5b9a955970b894d213d3398ca41be4031dfce75f51e6e4662928494771a05501ca65cfe7ebb0dbd881f9bd225bbf457612be7dccd508 SHA512 ba42bd62c809cfa4fe7933e269e8e1ddc4c4de8ae4fe18265a262d6d97bfd654df02a4aa3135e160c3720e3bb6620d5d1b8d8b75e37a62cffabcd1e16cb74542 +DIST gentoo-kernel-5.12.12-1.arm64.xpak 60233927 BLAKE2B f132efcd02a435b994591d3e1ff277c6d65f9412a0122ef17b808666f11ab97414528f40e61bcecde0b7a40c0f06c5ad5981156c17ab7997865358cd342ac640 SHA512 df7ce3a345a7eb98a2ac9750d6b1d2039886130e514d7f84b4c4f64afc3fdf3a2ccb238c203c73242a4863e7efe5b4f779de66b8054aedbc97bbc1f17e7e1616 +DIST gentoo-kernel-5.12.12-1.x86.xpak 58065273 BLAKE2B 7acd669230139ee760f566df9fb94b5e5fb686dc5bd1b854a1c2516fd7f86b58d925ba883c92f27da9e6dc9c72ba219d02b1da8eafae0bcd580be132036c7c41 SHA512 306d5281684d6e16321eaf7f7ceecccdba5b5e3bca47d75298e8a61a4849af8a01dbeee6ec62c1685f2a2c7418e3922ddd0b5d216d54756e70f898b0033caee2 DIST gentoo-kernel-5.4.120-1.amd64.xpak 61385726 BLAKE2B 4eda28bcfaaeb8caaa0d74c6fb37b203528ccd9853c775bcd40dc9f4698edc282a5c70602b42945b98840b1ea3d6b0d620b7726c65c83c16363e1c7542822cc1 SHA512 c36c7c5f309dea87df6af0567929f7fe09656ac49e33fd7edca62522aa45656e53d717dca5a9702b246446f25d7c3249ef0fdae8554f71cedf90339bc8b620eb DIST gentoo-kernel-5.4.120-1.arm64.xpak 56380077 BLAKE2B d9d0a98d00b17925c852b75875ba4eb373624cd1fc35df60aa50796e81facb5067146f3008313b5776aae7b251ae6559118cb36f1480813073341dfa37de01ac SHA512 c207f79b59ae38ab58a2f7341c8d21e3fc388eb949417a033d4dfd9fb0a7acdcac4a1d5ce8528708e7a2dfba1b241f0cf03235b5c2fb9dd1c930a36a8bebd2f5 DIST gentoo-kernel-5.4.120-1.x86.xpak 53191725 BLAKE2B 816d230d0755058eb5ff090977e607b5d077ff5d49766da19416593aafaa529becb742abe6ef59f0212e64affe95e45a313559b5741257c05826be539e9a849f SHA512 86ce9f57c0b14f6edf3403fe2868d7c32f7d55ffa714ffeecd4c3830eb88633aaa71455e8a962a2ace0363981b2b820b4fab50ed10893ccf7470945c6e31a196 @@ -36,7 +50,11 @@ DIST gentoo-kernel-5.4.125-1.amd64.xpak 61394912 BLAKE2B ea62eb77e681dc424c5674e DIST gentoo-kernel-5.4.125-1.arm64.xpak 56377793 BLAKE2B ec11f0815df1cc702a0bf384e91ea103c7926655b64f746598a55a4e7af231780ab69ca64197d500e707e62b377320eb861d236ec624ce5f0af1daff4312d701 SHA512 a74116b40eacb1f349cae3fdc4342b6c64f39926731beff4fd8550f186d46b16c8062b532f3384fdcdd0a2f18997aacc32d5ced0905e5dbca910308020b1751f DIST gentoo-kernel-5.4.125-1.x86.xpak 53179979 BLAKE2B 6788fa462f05eb162fd10aa4348b032fc5bb7776ae23aebf6df39ba5b442be2cd7e6c0cc7f8b50816c0d59f0f964cfb6e806a2ac70e7b1553a090e534a8c0f8e SHA512 2191a0ee564549d4ecb0dd9ef622e32c49fe41a84e27b73e425178f02193c69cade6330301c02cf9cec7f44f1e3e3ac3b5828a04f157c6b5c784494add7a0143 DIST gentoo-kernel-5.4.126-1.amd64.xpak 61351554 BLAKE2B 9aadbf998b8cd535f6e8cb880d37d74a50a98b8e37cb5245e1ca67345d2ec6ac7736d147d7805b3e3bb5506d128ce88db19d306c9f6a56e4f9b54be6e0d57d3a SHA512 79ed0fafc60d887aa27b7f266eedd0a0ec2ad9aa92c9c3e77ffd7b6e7153e51c537cfdc137c49476b073fc1b4dedfb651303c6e1419e7603f85fb6a20937d312 +DIST gentoo-kernel-5.4.126-1.arm64.xpak 56367523 BLAKE2B fb9ff4bb7e39bbdccc43b10fe4e94ef3c71ec97546d8b9a6cfcd71e86532700867959c298dc276d1f1da443c551c312b769a185dc9dbdd0c100cb6e509468f1f SHA512 e231972171447ba6586c51b979415f0fb5ce3bb7c002a4ce12c8d166d732d73850a82b978ea2b9a15d93ae9f4be9241106f3d50abd30aa9c05d4805526c4904e DIST gentoo-kernel-5.4.126-1.x86.xpak 53132617 BLAKE2B f258618c899740fe2e7d2fad65d3e589b0a48a7057a11f57ceafbf84900cf8ba1eec594d93960a0686378575238f3b2841921c3805ea82e4d8b666f36fb95981 SHA512 cd9489c2e4d2142237d4bdc7c473c6122eff0ff69a48d49f7d43082665dd62c58eb4f2f41b2de55c4a31da62c1826cc2a26b8561a062b55bf504f7eec3c68f97 +DIST gentoo-kernel-5.4.127-1.amd64.xpak 61364361 BLAKE2B 9ff813492bd7bc1f135b36bc323b8a2cf45407ecb0ab48cc9a69ad5f7677c02b678844dc33e2700bd23aeacbb468bba1b082b3a13d7c112b317f3aa6442cd406 SHA512 76abd4492ca0abf2017f14d6545aecbf49ff68addef44a0f6197cbd3ec1d5f45d53162afab355c9abc43e0b51d5069e76f1c06d71c137c2df4817011a2bc3e87 +DIST gentoo-kernel-5.4.127-1.arm64.xpak 56394161 BLAKE2B e3b9dc7334615ed225ba0cf71f18e45d7f4c0afb82f467597801094361df137feda3c26051c4bb1eef76b9bf9c77394b6029d4fe703746262f1fe3e7ce623ca9 SHA512 2f59983a0e5ca2e08c598aada66e3d5c052a0f67448bf979261d75e0e38d8f0e5e3921aa4f09564709262d86aac2361ccb367c6ba78addba6a6731eb98a10c87 +DIST gentoo-kernel-5.4.127-1.x86.xpak 53135461 BLAKE2B f363e24cdeae29dad876a1aaa8c0159d627d27d632de2d9509cc4f78cea4cc8ce963956771b542219f9a948e8b1a2d6aa5b80878a21d99cc0c1c3bbdc14f538c SHA512 9f9bb382a88c4f73b94956cb765c9ef5e380ee4e12b67ffb22cbfc8815bdcbf1a62b68ba770fe03d7ec3d753bbb8b3c11845ebcfcb2ef263cab9442c9fe0d340 DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.12.tar.xz 118112412 BLAKE2B 842d921b9a73d2aaade763dbd2ec67bdfe0275baa6d628b775f5c87574ad7dc86f0419afcd48c10c1235f4bffa16084243f2cf4556e6afcd391e975fe8ba530b SHA512 be03b6fee1d1ea8087b09874d27c0a602c0b04fd90ad38b975bd2c8455a07e83c29b56814aaf1389e82305fae0e4c2d1701075a7f0a7295dd28149f967ec5b3d DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f @@ -44,13 +62,22 @@ EBUILD gentoo-kernel-bin-5.10.38-r1.ebuild 2540 BLAKE2B c4dc49f7fd4ecba25e760b93 EBUILD gentoo-kernel-bin-5.10.38.ebuild 2673 BLAKE2B c07502536fd1fce0c1455c4901e2daf99983fc26069e30c3c395ab1ad0d7730aabfda15f30bb1fcd07c291616ee3a38c1e6df6c9afac41f46d3709e58ad40177 SHA512 7349a18625a8df057addf156dfd63b072f16064c995b8127714582278747d44ef3302c17e1036b954aecb8e2116d44c7f19b56301276bc49f9cd50726c723072 EBUILD gentoo-kernel-bin-5.10.43-r1.ebuild 2543 BLAKE2B d1e8f61d2ff09be1d60ec4f673354d6626c15d1f34d8eecd6c27421ba5f95ae75851025897652df3c8e11bf79787b76897b0d73fea95b8200cac5d528fbdc251 SHA512 60859b2b74ee6cc3c80d776bc9936b8a72fb978aad9cc174f79db047ecb0dfd203ccf458884a371fac4cdde3eb713788f44d67441e278da58ee91be82ba85cea EBUILD gentoo-kernel-bin-5.10.43.ebuild 2677 BLAKE2B 7b08f219678c5b66d567a22360c3f23a82a9b9d12291eccceb0f400d8a2dbf371d3bad76f44cf52c63109a95de4b58288c57b0f89836be356d83394d5ff9bc13 SHA512 90f07d1dbf82b88c1e989c1e6696534d7908bab161523af69ac02e987f5aaf7a253831709e55d42823bff7bccc32b173cca1a03aea2f542eedab29d61cf5ed3d +EBUILD gentoo-kernel-bin-5.10.44-r1.ebuild 2543 BLAKE2B d1e8f61d2ff09be1d60ec4f673354d6626c15d1f34d8eecd6c27421ba5f95ae75851025897652df3c8e11bf79787b76897b0d73fea95b8200cac5d528fbdc251 SHA512 60859b2b74ee6cc3c80d776bc9936b8a72fb978aad9cc174f79db047ecb0dfd203ccf458884a371fac4cdde3eb713788f44d67441e278da58ee91be82ba85cea EBUILD gentoo-kernel-bin-5.10.44.ebuild 2677 BLAKE2B 7b08f219678c5b66d567a22360c3f23a82a9b9d12291eccceb0f400d8a2dbf371d3bad76f44cf52c63109a95de4b58288c57b0f89836be356d83394d5ff9bc13 SHA512 90f07d1dbf82b88c1e989c1e6696534d7908bab161523af69ac02e987f5aaf7a253831709e55d42823bff7bccc32b173cca1a03aea2f542eedab29d61cf5ed3d +EBUILD gentoo-kernel-bin-5.10.45-r1.ebuild 2543 BLAKE2B d1e8f61d2ff09be1d60ec4f673354d6626c15d1f34d8eecd6c27421ba5f95ae75851025897652df3c8e11bf79787b76897b0d73fea95b8200cac5d528fbdc251 SHA512 60859b2b74ee6cc3c80d776bc9936b8a72fb978aad9cc174f79db047ecb0dfd203ccf458884a371fac4cdde3eb713788f44d67441e278da58ee91be82ba85cea +EBUILD gentoo-kernel-bin-5.10.45.ebuild 2677 BLAKE2B 7b08f219678c5b66d567a22360c3f23a82a9b9d12291eccceb0f400d8a2dbf371d3bad76f44cf52c63109a95de4b58288c57b0f89836be356d83394d5ff9bc13 SHA512 90f07d1dbf82b88c1e989c1e6696534d7908bab161523af69ac02e987f5aaf7a253831709e55d42823bff7bccc32b173cca1a03aea2f542eedab29d61cf5ed3d EBUILD gentoo-kernel-bin-5.12.10-r1.ebuild 2544 BLAKE2B e0ac33f846032b242bae33740ecdd0ee19a8ee4e01b4dff1b6d50c8805b8a49c7597adf457e9e437e3805f199db9348aabb082cfa66a5e85279d11b1fc4e96af SHA512 4b00af7a0e5bc28996fb73e8e9edf02253c492e028cab7dae7b8ac9959099a76f9d6c90d3246b387403cc53f4fccc685665f22f42ed177098b0cfc9062e60b8f EBUILD gentoo-kernel-bin-5.12.10.ebuild 2677 BLAKE2B 92b909253e380e0ee1bf79916236e89b71091c163f5b375fb9fb374b43552dcbb2e824611fe7c3c2eec2eca1782e70d72d8bf3a681d2d6e155abdbb76ce77d42 SHA512 a9e471d16e4ebd10326b72341d78f3280c0624936cebdd225a14a027ab577153a131bebec6c1c1bd643c393a80d36adb06bd51cad08ba1d52745bd398a01f6a0 +EBUILD gentoo-kernel-bin-5.12.11-r1.ebuild 2544 BLAKE2B e0ac33f846032b242bae33740ecdd0ee19a8ee4e01b4dff1b6d50c8805b8a49c7597adf457e9e437e3805f199db9348aabb082cfa66a5e85279d11b1fc4e96af SHA512 4b00af7a0e5bc28996fb73e8e9edf02253c492e028cab7dae7b8ac9959099a76f9d6c90d3246b387403cc53f4fccc685665f22f42ed177098b0cfc9062e60b8f EBUILD gentoo-kernel-bin-5.12.11.ebuild 2677 BLAKE2B 92b909253e380e0ee1bf79916236e89b71091c163f5b375fb9fb374b43552dcbb2e824611fe7c3c2eec2eca1782e70d72d8bf3a681d2d6e155abdbb76ce77d42 SHA512 a9e471d16e4ebd10326b72341d78f3280c0624936cebdd225a14a027ab577153a131bebec6c1c1bd643c393a80d36adb06bd51cad08ba1d52745bd398a01f6a0 +EBUILD gentoo-kernel-bin-5.12.12-r1.ebuild 2544 BLAKE2B e0ac33f846032b242bae33740ecdd0ee19a8ee4e01b4dff1b6d50c8805b8a49c7597adf457e9e437e3805f199db9348aabb082cfa66a5e85279d11b1fc4e96af SHA512 4b00af7a0e5bc28996fb73e8e9edf02253c492e028cab7dae7b8ac9959099a76f9d6c90d3246b387403cc53f4fccc685665f22f42ed177098b0cfc9062e60b8f +EBUILD gentoo-kernel-bin-5.12.12.ebuild 2677 BLAKE2B 92b909253e380e0ee1bf79916236e89b71091c163f5b375fb9fb374b43552dcbb2e824611fe7c3c2eec2eca1782e70d72d8bf3a681d2d6e155abdbb76ce77d42 SHA512 a9e471d16e4ebd10326b72341d78f3280c0624936cebdd225a14a027ab577153a131bebec6c1c1bd643c393a80d36adb06bd51cad08ba1d52745bd398a01f6a0 EBUILD gentoo-kernel-bin-5.4.120-r1.ebuild 2542 BLAKE2B 7d14a8ba016657b55a1f1a74a30c59c7c1f7176126efed01f11ada2c3dc3c9fd16fc42812bfdfbe8b7fc5517e15f684429ad7d2906529514ee286ddea6535db1 SHA512 2c65c2db43dbe0a3355f625f9a04aa2447ccff66e7c29ad1f56270626d6c770e2e0dc7e4c87bbb931092a43372dd58dbc204e7fc1e7d0b34e50ca9089f92117c EBUILD gentoo-kernel-bin-5.4.120.ebuild 2675 BLAKE2B 1f4ef28d7861df8008454ab1e24ab367bcd4afda3b75a13e5b8f46ec185ffb8a72a09a0c3d214a45b03fc0eaf5b76ef5994e9fe1376504457df968b3d583ab8e SHA512 3e6694941c7d3f0710826405c3471ab1bd8756f74408dc29ffd67bc0bde612cefc2a557e118aacc35cc1278c986655a8eb909e3883af72c4ac35b4635ebf69ce EBUILD gentoo-kernel-bin-5.4.125-r1.ebuild 2543 BLAKE2B d1e8f61d2ff09be1d60ec4f673354d6626c15d1f34d8eecd6c27421ba5f95ae75851025897652df3c8e11bf79787b76897b0d73fea95b8200cac5d528fbdc251 SHA512 60859b2b74ee6cc3c80d776bc9936b8a72fb978aad9cc174f79db047ecb0dfd203ccf458884a371fac4cdde3eb713788f44d67441e278da58ee91be82ba85cea EBUILD gentoo-kernel-bin-5.4.125.ebuild 2677 BLAKE2B a5897b13e2f407e1558f646d722ac614b384b575c9700e86934c659d4ec12d99c8d35ef1ffa5e2b7c67ae19d87884cce7e357d9de2e14680d2eb89455f80a905 SHA512 b627441a44ac28875a2b8d329d522277dd234e21f20fc2b2d31237b78b0c254443249911d754d62ba7300d59405dd66046eb88eb2a3bbd12425b73be4fbb24cc +EBUILD gentoo-kernel-bin-5.4.126-r1.ebuild 2543 BLAKE2B d1e8f61d2ff09be1d60ec4f673354d6626c15d1f34d8eecd6c27421ba5f95ae75851025897652df3c8e11bf79787b76897b0d73fea95b8200cac5d528fbdc251 SHA512 60859b2b74ee6cc3c80d776bc9936b8a72fb978aad9cc174f79db047ecb0dfd203ccf458884a371fac4cdde3eb713788f44d67441e278da58ee91be82ba85cea EBUILD gentoo-kernel-bin-5.4.126.ebuild 2677 BLAKE2B a5897b13e2f407e1558f646d722ac614b384b575c9700e86934c659d4ec12d99c8d35ef1ffa5e2b7c67ae19d87884cce7e357d9de2e14680d2eb89455f80a905 SHA512 b627441a44ac28875a2b8d329d522277dd234e21f20fc2b2d31237b78b0c254443249911d754d62ba7300d59405dd66046eb88eb2a3bbd12425b73be4fbb24cc +EBUILD gentoo-kernel-bin-5.4.127-r1.ebuild 2543 BLAKE2B d1e8f61d2ff09be1d60ec4f673354d6626c15d1f34d8eecd6c27421ba5f95ae75851025897652df3c8e11bf79787b76897b0d73fea95b8200cac5d528fbdc251 SHA512 60859b2b74ee6cc3c80d776bc9936b8a72fb978aad9cc174f79db047ecb0dfd203ccf458884a371fac4cdde3eb713788f44d67441e278da58ee91be82ba85cea +EBUILD gentoo-kernel-bin-5.4.127.ebuild 2677 BLAKE2B a5897b13e2f407e1558f646d722ac614b384b575c9700e86934c659d4ec12d99c8d35ef1ffa5e2b7c67ae19d87884cce7e357d9de2e14680d2eb89455f80a905 SHA512 b627441a44ac28875a2b8d329d522277dd234e21f20fc2b2d31237b78b0c254443249911d754d62ba7300d59405dd66046eb88eb2a3bbd12425b73be4fbb24cc MISC metadata.xml 352 BLAKE2B d14768a94b44290d052fa5b86553dc09bdc609c629fc96da7d5314510091484d7f22f2f4b4244fb033046eb949da8fdf6b9535d698ea3323f2da79400454b8d2 SHA512 a7b17e6764a339943b587985b95d828e84a076ceb3c372181794c905f6ce1a5554be69cb55560d823d71d8ea66666bcd5474fec1ead721633477eba31cf1cc8a diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.44-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.44-r1.ebuild new file mode 100644 index 000000000000..b63276300c50 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.44-r1.ebuild @@ -0,0 +1,114 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with genpatches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + arm64? ( + https://dev.gentoo.org/~sam/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~arm64" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT}" +PDEPEND=" + >=virtual/dist-kernel-${PV}" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + ebegin "Unpacking ${BINPKG}.${ARCH}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH=$(tc-arch-kernel) + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.45-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.45-r1.ebuild new file mode 100644 index 000000000000..b63276300c50 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.45-r1.ebuild @@ -0,0 +1,114 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with genpatches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + arm64? ( + https://dev.gentoo.org/~sam/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~arm64" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT}" +PDEPEND=" + >=virtual/dist-kernel-${PV}" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + ebegin "Unpacking ${BINPKG}.${ARCH}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH=$(tc-arch-kernel) + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.45.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.45.ebuild new file mode 100644 index 000000000000..19484744cb5c --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.45.ebuild @@ -0,0 +1,117 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with genpatches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.amd64.xpak + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.x86.xpak + )" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT}" +PDEPEND=" + >=virtual/dist-kernel-${PV}" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + ebegin "Unpacking ${BINPKG}.${ARCH}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH=$(tc-arch-kernel) + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.12.11-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.12.11-r1.ebuild new file mode 100644 index 000000000000..9cc54d1c175f --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.12.11-r1.ebuild @@ -0,0 +1,115 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 1 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with genpatches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + arm64? ( + https://dev.gentoo.org/~sam/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) +" + +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~arm64" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT}" +PDEPEND=" + >=virtual/dist-kernel-${PV}" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + ebegin "Unpacking ${BINPKG}.${ARCH}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH=$(tc-arch-kernel) + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.12.12-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.12.12-r1.ebuild new file mode 100644 index 000000000000..9cc54d1c175f --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.12.12-r1.ebuild @@ -0,0 +1,115 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 1 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with genpatches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + arm64? ( + https://dev.gentoo.org/~sam/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) +" + +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~arm64" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT}" +PDEPEND=" + >=virtual/dist-kernel-${PV}" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + ebegin "Unpacking ${BINPKG}.${ARCH}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH=$(tc-arch-kernel) + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.12.12.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.12.12.ebuild new file mode 100644 index 000000000000..c31025c57600 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.12.12.ebuild @@ -0,0 +1,117 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 1 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with genpatches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.amd64.xpak + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.x86.xpak + )" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT}" +PDEPEND=" + >=virtual/dist-kernel-${PV}" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + ebegin "Unpacking ${BINPKG}.${ARCH}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH=$(tc-arch-kernel) + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.126-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.126-r1.ebuild new file mode 100644 index 000000000000..b63276300c50 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.126-r1.ebuild @@ -0,0 +1,114 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with genpatches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + arm64? ( + https://dev.gentoo.org/~sam/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~arm64" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT}" +PDEPEND=" + >=virtual/dist-kernel-${PV}" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + ebegin "Unpacking ${BINPKG}.${ARCH}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH=$(tc-arch-kernel) + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.127-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.127-r1.ebuild new file mode 100644 index 000000000000..b63276300c50 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.127-r1.ebuild @@ -0,0 +1,114 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with genpatches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + arm64? ( + https://dev.gentoo.org/~sam/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~arm64" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT}" +PDEPEND=" + >=virtual/dist-kernel-${PV}" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + ebegin "Unpacking ${BINPKG}.${ARCH}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH=$(tc-arch-kernel) + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.127.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.127.ebuild new file mode 100644 index 000000000000..550411ea18c7 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.127.ebuild @@ -0,0 +1,117 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel with genpatches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.amd64.xpak + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.x86.xpak + )" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT}" +PDEPEND=" + >=virtual/dist-kernel-${PV}" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + ebegin "Unpacking ${BINPKG}.${ARCH}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH=$(tc-arch-kernel) + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} |