diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-10 02:01:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-10 02:01:16 +0000 |
commit | 59437d191de3ff33f9bfa37f8656d849184fcaf0 (patch) | |
tree | 7d5e645c0aac6d8b71229a0e53d7a93136f83781 /sys-kernel/gentoo-kernel-bin | |
parent | 1a95f960273f276a4fdefb824336b073d83bcb5e (diff) |
gentoo auto-resync : 10:12:2024 - 02:01:16
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 14 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.4.ebuild | 182 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.64.ebuild | 181 |
3 files changed, 377 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 39b5a4e0309e..91be136f70fa 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -14,10 +14,14 @@ DIST genpatches-6.12-2.base.tar.xz 6548 BLAKE2B 6872ca3238aa7b9e811ce82726033085 DIST genpatches-6.12-2.extras.tar.xz 4060 BLAKE2B ce854b442562d86627eed172c94d6766ed27a29e0c7cbd240ec7b18b3fb0965a30289640d828b603eb309f2e911dec157c206740b4f16f40ffc3ce8069fabf3e SHA512 dd14190aaf8dfd51696e0fd3751695889e9c4c6ac9eb36b288f5991f01874b3cafb29240fa115fe54b718ee741c810c154e97aad8f5eb72f988bb3bae0005222 DIST genpatches-6.12-5.base.tar.xz 331136 BLAKE2B 6af9e74cc62063482672566432da6173b605d67ed0555ca1486cc0ffde606d84446c40d832276a9ee2a6d2584aae4a8de22a186a2c5b68ced840135b87b37457 SHA512 4b6f205a9fef89118e408e492b179289338e9453563dc95746826f71f5c995d4b36ca14ff106ef5ed6112f5d8dcf6992c7e368ab8ad3fd682c9c0219956ff02e DIST genpatches-6.12-5.extras.tar.xz 4056 BLAKE2B a3e17cf0578b3cb3d5edb399e7030283c35cfb71357202de8b4ce28b0c21ffa5d5e777d6f6fa64f5791ecfac6a37cce3f7e1a926fc16bf75ebfe7029af9e4c03 SHA512 52dd7cb88876ad7a643eb39c7e86a3341438b3662b9821ee1f479aafd759962db247d7d746ae1ee63a4b803c28e8b7fd14e89efafe918327663df5029651c3ef +DIST genpatches-6.12-6.base.tar.xz 365140 BLAKE2B bf281f8314de03b6ac24de430632999188ff1573f46f58cab999f92fbcf0c2e5fd14413892e5a961eb1ee8b64360a253e8cc26d24f8687b413ff9cc1df72a4c2 SHA512 ddca7ef8f67bdc182ccfeb6ed2e5fd08297287fcd5744285c549643a854c7d6148342a3ac1a13ad6cdd87c334acc5abc58a7f6e6a58f34db8ce9dca2b0802152 +DIST genpatches-6.12-6.extras.tar.xz 4056 BLAKE2B 4d3a72ea884a1b6cc84034277d6cfb57f7cc3fd43e9d229b46707c07dcef1af73bbd61aa880805ca5746c3b470335ad48c10d55f442f3396f0aaaa9a7a23c73b SHA512 538ba6590f3f4ff9bcb44131393a95a677ee6c59b6ee67ad2519ff242fb182358cd217d5e0533e11225646ecc92e8efeb4688c332db70d35a977a8e3cb475787 DIST genpatches-6.6-70.base.tar.xz 3723176 BLAKE2B 19017743aaa0e1c717746592f253a14ca476eae1658742c6e487023ee5a670473fe582a814a1202f2aeefc78d7dd3dd249810d7665299f740fcfceb1c8c11f84 SHA512 dfaa2df7ceb9411e9e35fc9f4822f7d579c1106b49c57805d657ec14699764a54e10d93f717801db7e33698b1c01dbab489e7b9953b1ff23feacbdec5a99c95b DIST genpatches-6.6-70.extras.tar.xz 4060 BLAKE2B 65cc5e2a27894992dd78d6cbfe5601f2e10b21f6e588d8a8d75f1f265f1fdab3ab03dd4d5c18e3ac5f48a6a72f021e2f125c5140224b26f0caeba3def4054042 SHA512 728495f3fa06f52f0ececb3b5e69b1cd4c7aa29d8ca02bc7a537616a2c1cf81859b5f624e125332a1def8176f7a878da58843ef8d363a5d622009b31548879c6 DIST genpatches-6.6-71.base.tar.xz 3745848 BLAKE2B ab33221175b500bce645d302fb32095aa15a536ba475b866c41087d963e57a713579ddde608d93a5f2ea823e7126850599b49522c8c7112cf9435fd85897805f SHA512 eecd342f586e1b594009f91fa1ac12399d90a164dbdbdb454414eeca9bd47ce04a78e0ceee28f889324ccc505112f6a3bb4cc093f88ed10a4c521869769f4e07 DIST genpatches-6.6-71.extras.tar.xz 4056 BLAKE2B def4ae87c4a1b9221a7f8a38cc1b5e66867f599dba38f57b2641690a80ece90851fe9e4484d85894c5d41500d736fc5564c30669becd582898db2b8d3da3dff4 SHA512 66225121d986d43ef542899b32845867f22a9165c2a6ea7d891f6d8d35bc9dd6f6a0aee82e945a1566cb4c523b9b821175921e436f7217c16acaa9a1685bc307 +DIST genpatches-6.6-72.base.tar.xz 3928624 BLAKE2B 65d75de6e47496de435004b9cc85f29517583accbe8b795774c3cc48a9886510b2032a8234da1ef02f28ba42573d3c2ab3aa60e2bfd2bf4a2ed0dff4366c804d SHA512 3432d58a63d5964f7c45b83d108825254bc7b2cc93dbd797f517d18bf3ac37b258503fb544781d8d8fe9ee6d335e7aad13eee5cad45cd68d45b11499d26f32db +DIST genpatches-6.6-72.extras.tar.xz 4056 BLAKE2B 5c3a9d0cc988a15fb2ea4cc3edc0d807d7523814226cd22cdad3d82b7a67138cc860445006d32d34667ae5441201adbc28e250b4c9fdfb6340129e5a23aa13a9 SHA512 6712bf418245ecedd113c451b795be17c6886f3c081ab9204124faac97703c7d4aacb02c7b8a9d68b5d981cb280dfeffc0a168c576c68b3bc4f65ca9cba4702e DIST gentoo-kernel-5.10.230-1.amd64.gpkg.tar 63324160 BLAKE2B 62af76878c2adad51cbdfa4f7fe6b508ac77d58490c807b8d800e971a6c60d32a0f6d8478bfb6d3a167e118d8a928a4da5c338a00d4bab3fae59a391d4a74cc3 SHA512 5a8eed28b0e8d49d5a45a4aca5e11c5f39eda93ed854fd9237c3cd6b90a511bc0426383b0a65293d6a5910bcbd27e67a26626e7df6844ee41797de527e2d2144 DIST gentoo-kernel-5.10.230-1.arm64.gpkg.tar 56780800 BLAKE2B 5e294f0fc44a4df76c251be2232b85ec94a613bf59a116b7753373532d7d45f845809df0d379108ac6c75a8ecf290da47abbb574453a5595a05fcfc3d143fa0b SHA512 ecaac1adf2e5727edf3d1a0dc4c3cbbebc9fb6f8d574749c8a2c2bca7b0a57b6d66d4f28b9ee7378052cab4e7f671affd7f24d777f978b55396470ee071fe842 DIST gentoo-kernel-5.10.230-1.ppc64le.gpkg.tar 52797440 BLAKE2B da3ae36a895bf2b8135098be61b6b1712dda4ad0ce241306b65d877bf48494f71d84ac209895dc73054846e23623c77144fdfdc6cfdc43cec9516f0be78c125e SHA512 b352e0e7df9e1ac907b840348b3c341be45a0dabbd539ddd89bac158c11517164414c73f528c7c9a0a5b6c92404045e1e41ca906a393ff1e2ae8d17f0e6422d4 @@ -50,6 +54,10 @@ DIST gentoo-kernel-6.12.3-1.amd64.gpkg.tar 298690560 BLAKE2B 38f8670f67bbd9ab5b5 DIST gentoo-kernel-6.12.3-1.arm64.gpkg.tar 272814080 BLAKE2B e562374063514452ead9f93905ac0a745f0eb7841aa1c6dc9d6a79dffdc4b939d8ea868d47e66277f66052d096285516723774000f0a9c8bc694fc5e83142f9c SHA512 9889b42c9ebde4a350a085477560d076384cd1da48090a629de1f71ae1aff3b15beedf1b630989b09602c77299fcf341e4d736a5519ec79d9424119a30d7bf1b DIST gentoo-kernel-6.12.3-1.ppc64le.gpkg.tar 73072640 BLAKE2B f10734adfd71df134f10ab7f737256fb6e2d1a475ca0dd948c95f9b4371e54ab22374afb17b68c5c9e4d4aac4e6f51ae8aa4b58e968b09c92c7fcea6932f833d SHA512 d9de25e1eaa6eac0a31c31be8d7cfa3b48ce89a940dfccb200f048c353aba3c6cbcd1acc1764203c2fac35c0e47274fb8f0d0f5ba3404e861d505e72f07065f3 DIST gentoo-kernel-6.12.3-1.x86.gpkg.tar 77373440 BLAKE2B 0a6b4e351ea26fc033c82ebc83bbcac086ed3bedf169d1eb68a908113f2b8b6c7cb3ac0af1ab1898e9befaea5a1549eae8f3902f8c0c98aee2e7371b3775270d SHA512 bbcee4f339bc265afc6b7d9df25861f1f0f4fc426d740be9e20ac296ee9912e41731c1da5ada3832b36cd6a58e5b0addd27db1e21f5794e943f41dd22938389d +DIST gentoo-kernel-6.12.4-1.amd64.gpkg.tar 298762240 BLAKE2B b05d0ee9b91861d34071db2cdb088b83d36155d946a0be21af2583bfcc01cd0a059aa953de92a5431449758e2ac76d2d26a967b989202c88692e517480f1de9c SHA512 10fddc460a6da166bd2567e00864375739343e0e25d1b9436c27be20981794e21b68cdfcfd5947e8bc8342d02b2e443a72bd96d3919b086b1fea9b7319342d57 +DIST gentoo-kernel-6.12.4-1.arm64.gpkg.tar 272793600 BLAKE2B 808837f2e196d65f35a939d9d8a24fa7acb90d3c603ae5c1879d977a8b3b89240a4d9052eb7ca6c014811a72dec75e9082f1d92eeeb6049e06a1cd3926a787c9 SHA512 68fb263672e5c40702671370fc32f67f85a0a2aaa8a71f091c4d96e16c1aec7fb0e652f3b0eef9a1a7895c85e43c1ebb22d50ec3a59a0cc40b1a465950d82ab2 +DIST gentoo-kernel-6.12.4-1.ppc64le.gpkg.tar 73062400 BLAKE2B 1a24e24a8433ca2b3c963c57c51f53ccad08320c1cc7f65d1f5e621d36bb8e0e2a677d1014c3cd573465e1386e98856cd0c5951cc13f6a360c2bc2ed35eba760 SHA512 b32ad6aed53adb6efcf3ea000294535aaccc05f11bf161273016c745d49b08ff05b73c4c0faa4f63fe099d36194c84cce92e092f2b456edc44c9d3cce72361e2 +DIST gentoo-kernel-6.12.4-1.x86.gpkg.tar 77352960 BLAKE2B 4eff060db996daff2ca09072ecbdd9dd3a86917bd7b0767bac8ff4788a5490dace803eba654f56e4a95abef5c4ffa97b5920e71fa4ba08d0b958c68bc6456059 SHA512 0154a2ca907d8d78602dd5b5213e08db460b9a0c13030ad250ed21f477aa70ff976cfe8e3b89e26b5c22d30bcfc0b161a68c6d12230c601c14a885a1256b12f9 DIST gentoo-kernel-6.6.62-1.amd64.gpkg.tar 266598400 BLAKE2B f02bf7a4a53b025a1c2da579f73f3b0222e0c1b06deb3657b39e70103bf2ff0ef5e56386b70ae70a0d6822f41626e574f620e1901d46a752c3d3cfdffac70318 SHA512 8a62586c680c0d0dfd3f498dca24292ef337797adb15aa200f2964cc37624cb2dfb537ddf42036640ff46237749d1313f1a8724169a78ed958f2e99f5d530ddc DIST gentoo-kernel-6.6.62-1.arm64.gpkg.tar 241633280 BLAKE2B 67f10267c5f7bbbd436c7fa44f1f0e9dac83262f58c3b297a681d8769c1d0577123b4cc3c45283aaf94eb3dc14189c90207d0415ea174737f7eec12688bf1f4e SHA512 6933a49baa988b84171cb4a6a1849c1f115cae4d09715f2d450fed9a8e2808a1c86b4af67545554ad91992d77eb06196ce1b395f6749f9547e01bd63f157a827 DIST gentoo-kernel-6.6.62-1.ppc64le.gpkg.tar 64327680 BLAKE2B 7bb24f2f5d97446baaf70f15ad2f8437057274f371569caa7dda12c0e31de8be168422623d685609c37ef532b8b67dbc6c90aecbc561e7e86c66ca46945962bb SHA512 4936c616f77f1bd1a728778722207d298e7c596cfc4e35c0f3ce703ae4282e7ccce274762183a81cfa2feaadb456d4467a87a87c191abb3c72d3da5a498cb297 @@ -58,6 +66,10 @@ DIST gentoo-kernel-6.6.63-1.amd64.gpkg.tar 266588160 BLAKE2B 7c027dd6ae51c0dd7a9 DIST gentoo-kernel-6.6.63-1.arm64.gpkg.tar 241684480 BLAKE2B 0f106377785dd6abd9b38bc0d1284c0c7f3646f46e682487ac6baf520bdb017d743026399c48d9545792d70ae0d60faa574c10c7190c4cef917843a87385f61d SHA512 369524dd39b1839239de8d68bfd059053fa7f0f8552e53ac103fa6ac4c4176f9c8f42e538225fd9392917116bccce0309f79b125afd9b2859793bfe7ad189ece DIST gentoo-kernel-6.6.63-1.ppc64le.gpkg.tar 64337920 BLAKE2B a0b9d53652113f5988b8e836d3d903e688980bc46cdad43039124249cafb74cfaac6195babf64917dc7fedc6889dfd23b971c1c772f7daad49e497a4cc3f5128 SHA512 81b0582f32c45949e5b38e3055804b42e38b2702e127380c993df3c5cd05aa6f8f5a58da737bbcef4e371dc968770a223785cfcc76fbfdf5828f83fa7ef0073e DIST gentoo-kernel-6.6.63-1.x86.gpkg.tar 68341760 BLAKE2B f13fb306fa881f8498955187f133f75ac437b68db3819fa251dbc0abd340ba51c049a72a5327d29624369b6e93e68770599aa5a5cc91a264f79d8f45d4276334 SHA512 6096fa62135d592b05850265a2cf755e4624c1377d3c471960db12076781bd0e4d000b5373a4492198ebc773129ad394e94030b66e02f7d3e57b66a7610c56df +DIST gentoo-kernel-6.6.64-1.amd64.gpkg.tar 267520000 BLAKE2B 180bbbc82fbd8f00c988f50dfd42413401d42fa31d8a44d3124785bf49e713432219ee4eec850c084aba05a694337f666484ea465e490db74fd49d73780abd29 SHA512 2582b8255001738f3a9e62719c182a28c28330807ef2dc8e16443c95986df174a253fa36eed691862f97a9e7a7abf73b8d62954d692b2ed9f6504ec066593586 +DIST gentoo-kernel-6.6.64-1.arm64.gpkg.tar 242135040 BLAKE2B 5c43ccfd15cabc703f60998579abfd7bbf6aa35b07de57798f32e79d73d739367acdf5ffaceae6c51957af0dbfe85f3b6b195dbf51746f0afd387e125df9ae8c SHA512 bb6c89364785f223ca6ae0994ce54b707ca88182daaad2322e5501645c10a8a2410322706596e8f5cb3901a59f6a2742a4fffe709cb2b91e7eac718e6084fafd +DIST gentoo-kernel-6.6.64-1.ppc64le.gpkg.tar 64378880 BLAKE2B 302b2c567ace8d87738777519fcd00cce9eb0c53370be987d439e7ad14e21868a101101be3d315e0de137a5df18b301628f3ca92735fe92fc42bbd64980ad1ee SHA512 295320344086ae14205f831c7f5bee5a0e70649fc5984834270067a9d0b820091cd3cf11a936466ef4aa0c36f4378cbf43fe1f71aef22f7083326e48c3bcf425 +DIST gentoo-kernel-6.6.64-1.x86.gpkg.tar 68526080 BLAKE2B 839a5c742a7a9a3ac1fb49b533f9d5c1e0ea367d68f3aedbf1709fb37b15448b1f23b2b3e277d9ed783b277cc3cf7cf40c448b9d2760f23196b5cd094f230b44 SHA512 67254751da697663e8e14171334e0a17d7f9260819d5fe9e3e9d601431ec79329b70125855d2f4cd35872378b88f499eac7c054fb4cbed9071d4eb3ed7c31b9a 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 @@ -72,6 +84,8 @@ EBUILD gentoo-kernel-bin-6.11.10.ebuild 4778 BLAKE2B a067fbe9b60da41eba0f660de3f EBUILD gentoo-kernel-bin-6.11.11.ebuild 4778 BLAKE2B a067fbe9b60da41eba0f660de3f32c4e9e62eb9c471b8241864058be4c0ad9cf06ae119de1d580b4a031cec0b2976201ed6c1b22b395bba30e6e501ae99bfea9 SHA512 13c61915f2895a139eeb063dfdaa6df29ab74830b730a1ce59e87ccd65d7a3a5b22383b03fd5a44e783bfe7afd8c8d5af350b202ee8d7a82aa4f839a3ad9cdf0 EBUILD gentoo-kernel-bin-6.12.1.ebuild 4778 BLAKE2B c9812c9d49073d6def5dd285bbc2fa9f743a85cc406477c1066a44fbf6a740795a73d6c83c9d64feddac343f6723f2adc90e1a9fee6a7fdc76d4780f8956a17d SHA512 904cc1577f4507a26f45c82977960af064029cd16340b24a5b5c437538c1812404733b6d1bb05bb53b68c3c38ef313f2c97292595a3997e104e4a0e4864093b5 EBUILD gentoo-kernel-bin-6.12.3.ebuild 4778 BLAKE2B a067fbe9b60da41eba0f660de3f32c4e9e62eb9c471b8241864058be4c0ad9cf06ae119de1d580b4a031cec0b2976201ed6c1b22b395bba30e6e501ae99bfea9 SHA512 13c61915f2895a139eeb063dfdaa6df29ab74830b730a1ce59e87ccd65d7a3a5b22383b03fd5a44e783bfe7afd8c8d5af350b202ee8d7a82aa4f839a3ad9cdf0 +EBUILD gentoo-kernel-bin-6.12.4.ebuild 4778 BLAKE2B a067fbe9b60da41eba0f660de3f32c4e9e62eb9c471b8241864058be4c0ad9cf06ae119de1d580b4a031cec0b2976201ed6c1b22b395bba30e6e501ae99bfea9 SHA512 13c61915f2895a139eeb063dfdaa6df29ab74830b730a1ce59e87ccd65d7a3a5b22383b03fd5a44e783bfe7afd8c8d5af350b202ee8d7a82aa4f839a3ad9cdf0 EBUILD gentoo-kernel-bin-6.6.62.ebuild 4732 BLAKE2B 81dfd37444aa76204e847ec6cc48dea2b2f96d93ca099199a80b494bf3cf4035a6f5d271fc2cfecfc1cce82839e805169733c1df8d91735967094cea7bf61f55 SHA512 ec422e6742e7e725cadc2aa5bf4af91e6b4180c59fb83ac2f19853ccfcf687177d33e6ade4504f2035c612ff160f31e269042acb72136700cb0d1743de2baeb1 EBUILD gentoo-kernel-bin-6.6.63.ebuild 4736 BLAKE2B b6fcee48143cf24075e2fe50cf1d7aa3fbb3a1192bee00fc823833293d650695aade4e346a196a5456901935765b3f1ce79e84e16087b411717db71fd40eba11 SHA512 8070598c8e0345f674daecf5ff1e9530f1b901c9414397b4972106fe3eed323ba2f07449f34145f6dc8fae51adba9c98273210a5cc0510fec0d3ae5210fac669 +EBUILD gentoo-kernel-bin-6.6.64.ebuild 4736 BLAKE2B b6fcee48143cf24075e2fe50cf1d7aa3fbb3a1192bee00fc823833293d650695aade4e346a196a5456901935765b3f1ce79e84e16087b411717db71fd40eba11 SHA512 8070598c8e0345f674daecf5ff1e9530f1b901c9414397b4972106fe3eed323ba2f07449f34145f6dc8fae51adba9c98273210a5cc0510fec0d3ae5210fac669 MISC metadata.xml 482 BLAKE2B 3e7e4723542cbb8ac93dae78248fb8c26b96b7bfb2a3cd7913e4e7aef9beff07d9e8301219ae95bbbe4282d0806614b2733bea5d818797d19b0070c9119c0e1d SHA512 e3de887610d2c063fde21d52ce78c5d15301bffff49a82508c50dc1b03e606bf3e87506b376f10c6c10334949f577bc0f5307c3f45f2544fac799c57cf75d4d4 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.4.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.4.ebuild new file mode 100644 index 000000000000..b35a3727e6c5 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.4.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.64.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.64.ebuild new file mode 100644 index 000000000000..cd18b39c84d7 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.64.ebuild @@ -0,0 +1,181 @@ +# 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##*.} + 8 )) +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}.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 +} |