diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-27 03:04:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-27 03:04:35 +0000 |
commit | 83d9fce566bb89f6976f36f5314bfc88b6d261fa (patch) | |
tree | 8d8a18f75ff0a6a98313046fcd757ee0135db98c /sys-kernel/gentoo-kernel-bin | |
parent | d0349ca0f4903608beca459a9db2068dab9fa6ea (diff) |
gentoo auto-resync : 27:10:2024 - 03:04:35
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
3 files changed, 378 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 36b3395ea457..b9939e268b92 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -14,10 +14,14 @@ DIST genpatches-6.11-5.base.tar.xz 531212 BLAKE2B c9e98632ebd2e74f59dfee66d13f9e DIST genpatches-6.11-5.extras.tar.xz 4056 BLAKE2B a09e9802239237005410082eb6c4294a13cb3d415be4bd83aaea52ff37f472d4ab743fda02c8cff76a12e232044a91fe2ba83e0e46055edf28a5f473cf7f863c SHA512 3556b2f09e4f9e328bb04fb1e40b26038ef98864741b517f222c98fbb75975b34ce5d091df571f4e65b707fc8a74eb395f687a20f9f8ea0d617c4c8ccf8fa288 DIST genpatches-6.11-6.base.tar.xz 561884 BLAKE2B 8fd4ee418b02f2dad7e8599477d03dc56b7e3ab8752d9e73bec91e9f7e01d1615aaf4d14b1091314bd82a15ff443b16d3cb4be58c4a46f33a1f95ff8bb85d82f SHA512 109f1e9e562eac0c606ef621bd2ebc4bda96a26002999765e31551edc6070c46de6c24dc4387389f964fdde485aee0048e01bf5189997b84111334c2f239d5f8 DIST genpatches-6.11-6.extras.tar.xz 4056 BLAKE2B 7884aa8796e7b79db2b0db6aff5cf02119ac092d95529e0d0ee78ae5458faddf4fdc288b222f3126bb40749cb2ebb7bf2ac3fc6f77f1d2fb46d53b4b62b75c7e SHA512 b7c927e5bf90be5afb0cd479d385c7170316cf74c2aff136ab966734c82e6f4a1791a12124c7a73065711ba22f9260a3094f2bfbc8d0674ba46c158b2e147774 +DIST genpatches-6.11-7.base.tar.xz 562312 BLAKE2B 80227e573f63c6356c846fc1608ceaf336f209887a00e95504125298b24c3497a44fe53f7fb231b1cc2f0cdcc82a49e2bbb8496e16f182ef4884c7da15c62bae SHA512 02441292bcfa15034f7bbdfc7c92b4c0e583208cc9c94f20c7f0edf4c18cb56630de0e888d5ec208c15ea75f03f8194bcf8b1d2ebad2b5e38f11632289928ad3 +DIST genpatches-6.11-7.extras.tar.xz 4060 BLAKE2B 073ddb98be6a0ea659f5b494574f0c004ad9342a6ae9bf6b2c46ca83f44f10f8cb02a6df3b7f054d9828dac5d5488d3920d21157848cd85340a0fe7c9dfb34dd SHA512 0b0b41516a7e47fb93ec819e90cbadd000b9615445dce61fda136028788791803f5681caef5e8e86c536063979dddae36d7c8e473a40fa1f65117f7125b1e5c8 DIST genpatches-6.6-63.base.tar.xz 3551092 BLAKE2B 8edca00c49096ef4682038389b19e312773d3a56e29a03527e8f39ae835243193e2afce6411e0f1404af899793e766e108134d990dc666f15eebf02d6dfe6475 SHA512 0b51ff04cf01262502c3b1651288a87f235f3c1f4cf8b92699161353ddd75cbaecc27b8f2838375d77a4cf99a746a2175eab6fb0d23fdea67a6d4e9b89279ca3 DIST genpatches-6.6-63.extras.tar.xz 4056 BLAKE2B a7a361bfe180362510300753b3fea12bb0ec1014a3b7307211931193672db1216abf994ba8cb22cf365221202dd93f4b49fff6970c8eb88b7a77ef7bd02d1f12 SHA512 49574eac90eb749de544afaa7102163607bc24e2214ccc3c84cb6bf8f60773c45831da93bb5598aa4b933f65455228649afcba6d93107a81a666828b0919b18e DIST genpatches-6.6-64.base.tar.xz 3582172 BLAKE2B e607e40b069b41983d461bdf9e3d6cb1bf53f6bdedef80934da3feaf7760ecc01fe77ae76980351e56d3358cbca8ba514b83719a6943b3ad3582bc5e1f55f949 SHA512 c33db1d09741c996c3e63253e24cd06e0b1ddcd66c602007394c2f8bf1800d5144fe6f27643954b004057cd2056d8e353a5aa67456c1afbdb3aa23e540a45792 DIST genpatches-6.6-64.extras.tar.xz 4060 BLAKE2B d91c7df7c970efbe0126a3e189daa71ac02259cf1746f432ac702af7991c04bf235c28ffb578ffb2250e92e2c475ecdadef97645b510606cb395e725dec348fa SHA512 c26f1c1446ccafb751bcb8d05a41d378ce670b8115ec79e1b9a21714a1275c75ca36b68424b17717cd5b75fc1421a132eff0fcc31f7f32bc192964f3c64a381c +DIST genpatches-6.6-65.base.tar.xz 3582916 BLAKE2B 3d750c677e61c122144de989a55db6f04a2a545981858b71c602c156f802478ad19f4d87629760be724a9b522b377479df9f0c5f9a859235c5fc438df95c2aae SHA512 1ac5e7fb36e50227a6bdf035562f11401ef6a19c1a7af2d001d224b8710e3aa10434d828a3a0213a1f5cce101992bb803199e5d4e76474b657dc5c4d6328c385 +DIST genpatches-6.6-65.extras.tar.xz 4060 BLAKE2B 53cdbf5d680c9943d189e7606caa10c18bd3317789ffc1f120bf535255d80bfb5e3969fe952eb0da3c1001ee41e93755616332363465d4714a67a90140c43bfb SHA512 b5b3c817426be391a72633740beb4ba7b4e2546ee441081906d77ba31636321501af414140d487d284de325f80d004aefb241f3e349ef3ccd62d2c6fc4d7cf7e DIST gentoo-kernel-5.10.227-1.amd64.gpkg.tar 63313920 BLAKE2B 9e2645f93707b3e4b4d4ead1ba2ae546f5f49f377935a7056fcda9facb16f3ec56ac021e7884513a3647ac5acf3b4fc68a3e0a0fcad9da32c0647a85a83cb767 SHA512 d43a0163c40065fd161e97df64f355096c8d82b9b3b7636cf5eec0797f362cd0c5abe1ec773e3d8de77eac3331487ee7a40fccc685501927ba8d1bdb50cd0d88 DIST gentoo-kernel-5.10.227-1.arm64.gpkg.tar 56760320 BLAKE2B 1f956977188a1c4de61be9dda6a82dfa5b4607c969f36d7330eac22d2591e9938e6fbbaece68bf1ffba0a4967c0d333acd0533e1c6b633dddcda9d0e8b967d96 SHA512 fcb3ee4dc4b3d795fed5e4fb588b64180e2b05d50d9d10e206cd776c3e4b2fb93aab1b0c377ef2e3ba3837c161216d9ee342a59f407196c92bddd37bae171a0e DIST gentoo-kernel-5.10.227-1.ppc64le.gpkg.tar 52797440 BLAKE2B daf733978a8062ef209f855bc919575efe5e87fcdda164fd75c5c3fa09c77c51d225aa4282c5900612789689c1850a1217d92da3cc2e23813c3e7fcd7e3f4631 SHA512 e1474a3406de968af183b246340890bfcb072b89cd838e982a7fe6790dafca124943279e18263851f56b46288b4acf7f96471e787c82bf0a98b34cf64abca023 @@ -50,6 +54,10 @@ DIST gentoo-kernel-6.11.5-1.amd64.gpkg.tar 291379200 BLAKE2B 1818d5fdc811246b33e DIST gentoo-kernel-6.11.5-1.arm64.gpkg.tar 268431360 BLAKE2B 6eba8f276fc144630d94feea9d83cdeb2ec471cdd991a3e7b18e2baf1023be6c8c5343e8b05027de14599253232b0df170e6907618a26d7e89c8d3414eda0d70 SHA512 bf076a390c5c944b58b8ef0c05169d88435396698128a8e842eb79d5bd464d5783e50ed4a644aa14d3be7023fe4805b23ecdc095cfa11f7d0331be53229f0b84 DIST gentoo-kernel-6.11.5-1.ppc64le.gpkg.tar 72806400 BLAKE2B ea08d468ae1bb56cf93041ca10d08a0fc1883282e1f706851b57c43f7db4e4aff27ebb14d510940a755452d3786378759aaef7d98cb4616f5332976846394e51 SHA512 fd8c513541daa1b2133e3bf1047bea86d33670cb002284de4d8f7300c876f207b3561209d13db47e550775dcbf306fb1615ee541394c7efbfddda8c9c49f1fb6 DIST gentoo-kernel-6.11.5-1.x86.gpkg.tar 76472320 BLAKE2B d9d6caba32588111f470e0d42648916730bd58cb27d83f9c7f53e38e5fc881ab642a1dc5abf6d50cc80e059ac95f799ccbeedbb6d92fbf843660704e2b32d1ec SHA512 9212ff8926b0fe712973902a900c53b22d7baef3075402531bc0a7c2b4a15e1b4aac0ca3fb0132a0fc10e96762f98d0e343dcf79c69e5a20164f708afe547fdc +DIST gentoo-kernel-6.11.5-r1-1.amd64.gpkg.tar 291328000 BLAKE2B 9c1ba7d9cf2b34577a5fb2235619d0ee4cc35bc47923dcb6593c080caaea5ce3d0e1e9d31454ee7eee3417d30fd9a6e288667434b5b799180d9439b93a2194ec SHA512 73355314712a784bf44f5b1486eb929cca45c1643c1c57f8d81a853218fae27752106382e364a5ee2be7ab05dc6745ce81b118bd730a5f24538786a90f1fdf80 +DIST gentoo-kernel-6.11.5-r1-1.arm64.gpkg.tar 268390400 BLAKE2B 946224df401b5c18884f5bf10379862d2536c672fc7962f0f83eeb1966d897479383ee33a42ef692ef4ad4bef9a750740bebef36ccede5c4a3673635a4aafe0a SHA512 dc7d31cf8387ffacb370ce6db1bf830549c59e7cac744958b353062cc9a143370b80232070a9a32d324f9698f166f81da83fc1d93ac6e8dff103c61a318319f3 +DIST gentoo-kernel-6.11.5-r1-1.ppc64le.gpkg.tar 72785920 BLAKE2B 9865a9fab8030c696d8f84dcc471a9bd8432e6cd603b23e6c5e0fd181ae06b8f76255603d02cbe2767fe2449677be80ec4f0488987f56675df4e3dee41ba4a7c SHA512 a3971900701d743619127eaf8b9072e0c6f0b188e744de4433f3edb59f80adec69316682e3e2d2d787c26f891664bd33373d837eb7e205a0219d5602588181ff +DIST gentoo-kernel-6.11.5-r1-1.x86.gpkg.tar 76482560 BLAKE2B 44f4af75a2daa8b1433152c8af8e414494b5d23dc9b11aca22529a10c6c28b43350cff31c6420dae0f6df5e8382d41f580f5bff5b05c9c14cd23516d44e8eba0 SHA512 4a6d8ce4e25d541de1096ec2ead561b3f9d7115db7a76e539fa395e058d19adbbf1b59c24380534064f3114b9797d398447c1a5dc2b806217f0bd2c765295837 DIST gentoo-kernel-6.6.57-1.amd64.gpkg.tar 264243200 BLAKE2B 6929ae1df44f7ca9ded205e42ded2f601f6252adec0cebdeedf2f4343a2f4d62c904ffb1b1c30b948dd5928d00ddea93db1382de1e06e8cac71749dc3120fb9b SHA512 a55c92d767adc3186e25d2ea652432f2ecc900e4c2d7da8c83264cddc4661aeb4ccf7c1bfdb801cc53bb166a900ed2045120646fc9018fa89de9d97678827dc3 DIST gentoo-kernel-6.6.57-1.arm64.gpkg.tar 241264640 BLAKE2B 4f3d7c7e1f4027361bb2705e12bade25342e4b38ff933e81bb4708f6eb77e7096da69912a86c12e2e5ed3cacc1c9fe00cfe31ad4e8d46f2fd406c4fa8277eb59 SHA512 68ba3e5736dc0c98fbc8c14b75246063710f504d36cd7aa4ff4c7a7161d0120a67ea0d6d3b5e7162ea734d959b77398396e7b00a833f6056f8ef94c98ee8cd6d DIST gentoo-kernel-6.6.57-1.ppc64le.gpkg.tar 64296960 BLAKE2B d679aebf79ca62f5ff7c01bce794067d74b53fe7b60f42c18a644039fea55ba4de95c2f4a75060d38f276353c037575cea6c98668cfd1ff3adcc26f12dd84973 SHA512 73c659ace206fdbe9b4abf2115670afa2416e36c489f45e332cc8fa136f889590a329acf959df8381fd59191677799b6ff4469052a0368d8c11d5bfc12b9107a @@ -58,6 +66,10 @@ DIST gentoo-kernel-6.6.58-1.amd64.gpkg.tar 264212480 BLAKE2B 3a88f2c0bee3fe46380 DIST gentoo-kernel-6.6.58-1.arm64.gpkg.tar 241254400 BLAKE2B a18159f59314697b05ffd145d900f2d3c9a4311ba6ada234a835afcd76f30f79efb6b9f7809cd7ec61d4ebdc43e9eb6329ace3680947cd75107e65adec317388 SHA512 3097704edddafd69167ec49cdebe36aee4845758e577d0b64694900c142c116b815898997d0fe056c6a6905d5f582756e58fa50d4966ecbf10cb4dad4fe58aff DIST gentoo-kernel-6.6.58-1.ppc64le.gpkg.tar 64307200 BLAKE2B d8d863fab084e95523afdca0b9857e09aaad33e9ddd136df7d0a0bca2de9e602823dd9a80273dc64b8b757b4aa192ad2535c4e34b24a23c056fbdb4df4d2b086 SHA512 792a9e77b9b4fb6bcb14bf5b7321a3a39262aa1b7592affd8280bd3d57703e6014e12bacdcb30b8562b94bedd22df3a8a67a32e163301b19bffd29a7e49adc3e DIST gentoo-kernel-6.6.58-1.x86.gpkg.tar 68331520 BLAKE2B c87d6d152ac50dc346256fa2b6fca6812a9aa12ec2eab1e3408bf1afb31019843e18330f493aff63daad3a10b00dc2cfc302d70a5fc68869951353f999294df8 SHA512 49307d991f0c811219611fdd5fb2b26230af222908d6dc7fb528d3d1564a186d5a7c996355eaa768c382f2142b349fd1541178e6f4a9fbbe312795f361d71d60 +DIST gentoo-kernel-6.6.58-r1-1.amd64.gpkg.tar 264273920 BLAKE2B 537efe26fe31375d739bc5959e6b22b639e227d2a97d93693a3dbea2f40fec2ad64506462fd441fe07c1900bc304ac31ef9317782bbbf9b54fd17a8b81ccb678 SHA512 afc37b354b2d4d16f12545cf30d0d6f5dc2170f231166b0c608cd11f98148bfdda420cc7deff15f1b91c8368589967456ccda90b3c9b681c22b883507765a6f9 +DIST gentoo-kernel-6.6.58-r1-1.arm64.gpkg.tar 241244160 BLAKE2B 79de676d425cbe7eeee5a77f7953f283eaeeef665ecb0039e120c382225e8c1158f6695e86c868c7972b2150b988f16495e80b4fc402926900f8223f1a8d1cbf SHA512 e2cf875b6adc0a8325bfa0c328db82cbc483373917501c069646a5d052eb815390e8150d80bfebe83139a5726fa09264b41684cfdc03a1379d6b0cfb31d84e19 +DIST gentoo-kernel-6.6.58-r1-1.ppc64le.gpkg.tar 64296960 BLAKE2B d3e787f293b0b9f3944b3aec0fb1198c81b23faa5234d60962f93035d244f6a73db24a6fc893ae3de85dc4ce52ce4a9466bd8f2175d6f78876d4d4c65ce84d11 SHA512 f21f4b9ef6a11bb8ebdc7fed49439bdc41769fe8d6aad5dd6b33aacdec8cd185acc7264674fa4887f30e00785677d5738cd04f3699f6ad2063446cabee48be89 +DIST gentoo-kernel-6.6.58-r1-1.x86.gpkg.tar 68321280 BLAKE2B 754b2fa16df8508fb2db17d36d5be79535d9c1146d08c47bcac9fab626bf5abf47bb644c405e712b840ca93342c8c2d78f17dc6507e9d13f89d50fd583b1863c SHA512 e4133c9a68d3e81d418628c4e3b828b1cd9dd48f2755a489601b6136172ab0708c2deaf2b7f3c27d9c1b56d518a1b005701e905fd683fc8b3163dc6b820025e6 DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68 @@ -70,7 +82,9 @@ EBUILD gentoo-kernel-bin-5.15.169.ebuild 3415 BLAKE2B a055768b284fe252a8561a5980 EBUILD gentoo-kernel-bin-6.1.113.ebuild 3411 BLAKE2B 9243c250c96f33a719b8dc4f06a41c70534664bf1284dc0f3fa8dd7b38c6af685a6e1d2656923d66e3fa3562c9a68e705f74977e86c28cd485aa3228c8f04479 SHA512 982a17d9c7a080236ce7d4b379c551a048aa2b8633486399a06a91cd842d992d943d0f84943f5ad5a168ae6f9b448e28976021cefd70d62ae6f17b8a434ad4d6 EBUILD gentoo-kernel-bin-6.1.114.ebuild 3415 BLAKE2B a055768b284fe252a8561a59800cf358d680f071fb13909e608232e14d4c1eb043d87500945c2e79ea7f1c05172c8cdafc547a9d005543bf6b7836f0a70f7ae4 SHA512 4decdcb1a99cd302054f110cb204dc34ba17516b0b3c8936c08ddc588b84e5c504d5a8b9e76c3b85ca4ddd7e3a0fe573ad49bc8ef730a66c6ca4ac9c2b69c74d EBUILD gentoo-kernel-bin-6.11.4.ebuild 4404 BLAKE2B 9afa632e141e459083b38f2c090b56ce5c7ee8019541197041879a19a80eddc44988395f66adfa0db37ea1fb13a519ffc6df284096d82af8f742baf151374347 SHA512 cd44d3203e6597f87b3d89d84487258ddb2564143cb8cb26700a746588256c58e549beb1b58d641b5615bbb3a929ac7772a77d2917a04423d22218c1120277d5 +EBUILD gentoo-kernel-bin-6.11.5-r1.ebuild 4778 BLAKE2B a067fbe9b60da41eba0f660de3f32c4e9e62eb9c471b8241864058be4c0ad9cf06ae119de1d580b4a031cec0b2976201ed6c1b22b395bba30e6e501ae99bfea9 SHA512 13c61915f2895a139eeb063dfdaa6df29ab74830b730a1ce59e87ccd65d7a3a5b22383b03fd5a44e783bfe7afd8c8d5af350b202ee8d7a82aa4f839a3ad9cdf0 EBUILD gentoo-kernel-bin-6.11.5.ebuild 4778 BLAKE2B c9812c9d49073d6def5dd285bbc2fa9f743a85cc406477c1066a44fbf6a740795a73d6c83c9d64feddac343f6723f2adc90e1a9fee6a7fdc76d4780f8956a17d SHA512 904cc1577f4507a26f45c82977960af064029cd16340b24a5b5c437538c1812404733b6d1bb05bb53b68c3c38ef313f2c97292595a3997e104e4a0e4864093b5 EBUILD gentoo-kernel-bin-6.6.57-r1.ebuild 4401 BLAKE2B 27fd0fd04d3b2d0dbd49710202abe264151af0b4d33148602780fe3d9917ca9060444398b5af1e9d300c8bc15dbc3aa3bbf02e6b359518b4df9eddd93afa1029 SHA512 d89f95b86e5e49ea4792d048583695d2dba42698fc470a268f21df176f4df9a667f81f5e31a450af1de3fc26691a58b6d1f327ed99d58b168153fae712be30fe EBUILD gentoo-kernel-bin-6.6.58-r1.ebuild 4783 BLAKE2B 65c0f6092495ac1cf9a8a798b0cd3af8cfdd10b7be80eaee8299519901f6e789918d9531f6d8099f82eb89e7dd38e03efc43d617db30f6f80819ffbdab2beb6a SHA512 389d2f890accbb2aaeaa1323fe3071737ca431e28bdf511040048463e6c14adadae9ca9a88beea6246a95b8d69d5f0829f5f5ad4596745f032fe81ed86a733af +EBUILD gentoo-kernel-bin-6.6.58-r2.ebuild 4786 BLAKE2B 76731a543fd89c55ba578716f0317b42d97eb75c13269e5d89071be325ca54b2c170b55fd0ce72d2c690ece99f457fc96a76b7344b02542ebbe9fae599446afe SHA512 715f612e260b62e58bb91c7adcc8ab4e6baaf26ddf9e4aaf52ea649086c3ae1c838362ad5d6c034fe6ae61fc006af08662bd845d57cca002a41a194c6b9b1af2 MISC metadata.xml 482 BLAKE2B 3e7e4723542cbb8ac93dae78248fb8c26b96b7bfb2a3cd7913e4e7aef9beff07d9e8301219ae95bbbe4282d0806614b2733bea5d818797d19b0070c9119c0e1d SHA512 e3de887610d2c063fde21d52ce78c5d15301bffff49a82508c50dc1b03e606bf3e87506b376f10c6c10334949f577bc0f5307c3f45f2544fac799c57cf75d4d4 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.11.5-r1.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.11.5-r1.ebuild new file mode 100644 index 000000000000..b35a3727e6c5 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.11.5-r1.ebuild @@ -0,0 +1,182 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_EFI_ZBOOT=1 +KERNEL_IUSE_GENERIC_UKI=1 +KERNEL_IUSE_SECUREBOOT=1 + +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 )) +BINPKG=${PF/-bin}-1 + +DESCRIPTION="Pre-built Linux kernel with Gentoo patches" +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}.gpkg.tar + -> ${BINPKG/-2/-1}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.x86.gpkg.tar + ) +" +S=${WORKDIR} + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="debug" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + app-alternatives/bc + app-alternatives/lex + dev-util/pahole + virtual/libelf + app-alternatives/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +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 HOSTLD="$(tc-getBUILD_LD)" + if type -P "${HOSTLD}.bfd" &>/dev/null; then + HOSTLD+=.bfd + fi + 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)" + HOSTLD="${HOSTLD}" + HOSTAR="$(tc-getBUILD_AR)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP="$(tc-getSTRIP)" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + READELF="$(tc-getREADELF)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + local image="${kernel_dir}/$(dist-kernel_get_image_path)" + local uki="${image%/*}/uki.efi" + if [[ -s ${uki} ]]; then + # We need to extract the plain image for the test phase + # and USE=-generic-uki. + kernel-install_extract_from_uki linux "${uki}" "${image}" + fi + + mkdir modprep || die + cp "${kernel_dir}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + kernel-install_test "${KPV}" \ + "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + local rel_kernel_dir=/usr/src/linux-${KPV} + local kernel_dir="${BINPKG}/image${rel_kernel_dir}" + local image="${kernel_dir}/$(dist-kernel_get_image_path)" + local uki="${image%/*}/uki.efi" + if [[ -s ${uki} ]]; then + # Keep the kernel image type we don't want out of install tree + # Replace back with placeholder + if use generic-uki; then + > "${image}" || die + else + > "${uki}" || die + fi + fi + + # Overwrite the identifier in the prebuilt package + echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die + + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/boot/dtbs ]]; then + mv "${BINPKG}"/image/boot "${ED}"/ || die + fi + + # 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}${rel_kernel_dir}"/ || die + + # Update timestamps on all modules to ensure cleanup works correctly + # when switching USE=modules-compress. + find "${ED}/lib" -name '*.ko' -exec touch {} + || die + + # Modules were already stripped before signing + dostrip -x /lib/modules + kernel-install_compress_modules + + # Mirror the logic from kernel-build_src_install, for architectures + # where USE=debug is used. + if use ppc64; then + dostrip -x "${rel_kernel_dir}/$(dist-kernel_get_image_path)" + elif use debug && { use amd64 || use arm64; }; then + dostrip -x "${rel_kernel_dir}/vmlinux" + dostrip -x "${rel_kernel_dir}/vmlinux.ctfa" + fi +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.58-r2.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.58-r2.ebuild new file mode 100644 index 000000000000..e15058aab787 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.58-r2.ebuild @@ -0,0 +1,182 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_EFI_ZBOOT=1 +KERNEL_IUSE_GENERIC_UKI=1 +KERNEL_IUSE_SECUREBOOT=1 + +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 )) +# XXX: Change this back after 6.6.58-r1 +BINPKG=${PN/-bin}-6.6.58-r1-1 + +DESCRIPTION="Pre-built Linux kernel with Gentoo patches" +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}.gpkg.tar + -> ${BINPKG}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.x86.gpkg.tar + ) +" +S=${WORKDIR} + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="debug" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + app-alternatives/bc + app-alternatives/lex + dev-util/pahole + virtual/libelf + app-alternatives/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +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 HOSTLD="$(tc-getBUILD_LD)" + if type -P "${HOSTLD}.bfd" &>/dev/null; then + HOSTLD+=.bfd + fi + 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)" + HOSTLD="${HOSTLD}" + HOSTAR="$(tc-getBUILD_AR)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP="$(tc-getSTRIP)" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + READELF="$(tc-getREADELF)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + local image="${kernel_dir}/$(dist-kernel_get_image_path)" + local uki="${image%/*}/uki.efi" + if [[ -s ${uki} ]]; then + # We need to extract the plain image for the test phase + # and USE=-generic-uki. + kernel-install_extract_from_uki linux "${uki}" "${image}" + fi + + mkdir modprep || die + cp "${kernel_dir}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + kernel-install_test "${KPV}" \ + "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + local image="${kernel_dir}/$(dist-kernel_get_image_path)" + local uki="${image%/*}/uki.efi" + if [[ -s ${uki} ]]; then + # Keep the kernel image type we don't want out of install tree + # Replace back with placeholder + if use generic-uki; then + > "${image}" || die + else + > "${uki}" || die + fi + fi + + # Overwrite the identifier in the prebuilt package + echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die + + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/boot/dtbs ]]; then + mv "${BINPKG}"/image/boot "${ED}"/ || die + fi + + # 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 + + # Update timestamps on all modules to ensure cleanup works correctly + # when switching USE=modules-compress. + find "${ED}/lib" -name '*.ko' -exec touch {} + || die + + # Modules were already stripped before signing + dostrip -x /lib/modules + kernel-install_compress_modules + + # Mirror the logic from kernel-build_src_install, for architectures + # where USE=debug is used. + if use ppc64; then + dostrip -x "${rel_kernel_dir}/$(dist-kernel_get_image_path)" + elif use debug && { use amd64 || use arm64; }; then + dostrip -x "${rel_kernel_dir}/vmlinux" + dostrip -x "${rel_kernel_dir}/vmlinux.ctfa" + fi +} |