From 9c602d90d61cea9fe83c596c68a99e383ee15f73 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 28 Oct 2022 22:00:05 +0100 Subject: gentoo auto-resync : 28:10:2022 - 22:00:04 --- sys-kernel/Manifest.gz | Bin 4414 -> 4415 bytes sys-kernel/gentoo-sources/Manifest | 16 - .../gentoo-sources/gentoo-sources-5.10.149.ebuild | 28 -- .../gentoo-sources/gentoo-sources-5.15.74.ebuild | 28 -- .../gentoo-sources/gentoo-sources-5.4.219.ebuild | 28 -- .../gentoo-sources/gentoo-sources-6.0.3.ebuild | 28 -- sys-kernel/linux-firmware/Manifest | 5 +- .../linux-firmware-20221012-r1.ebuild | 374 +++++++++++++++++++++ .../linux-firmware/linux-firmware-99999999.ebuild | 34 +- sys-kernel/linux-firmware/metadata.xml | 1 + 10 files changed, 408 insertions(+), 134 deletions(-) delete mode 100644 sys-kernel/gentoo-sources/gentoo-sources-5.10.149.ebuild delete mode 100644 sys-kernel/gentoo-sources/gentoo-sources-5.15.74.ebuild delete mode 100644 sys-kernel/gentoo-sources/gentoo-sources-5.4.219.ebuild delete mode 100644 sys-kernel/gentoo-sources/gentoo-sources-6.0.3.ebuild create mode 100644 sys-kernel/linux-firmware/linux-firmware-20221012-r1.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz index 4742db2e8429..85fae1660ca2 100644 Binary files a/sys-kernel/Manifest.gz and b/sys-kernel/Manifest.gz differ diff --git a/sys-kernel/gentoo-sources/Manifest b/sys-kernel/gentoo-sources/Manifest index e1142ea67cad..dbd460693362 100644 --- a/sys-kernel/gentoo-sources/Manifest +++ b/sys-kernel/gentoo-sources/Manifest @@ -37,33 +37,21 @@ DIST genpatches-4.9-333.extras.tar.xz 3672 BLAKE2B a9ed67b06a3b12f87d8174c79faf0 DIST genpatches-4.9-334.base.tar.xz 5344640 BLAKE2B ebfa09f025b7fef8966b61ca40130e8df3e9825c9169254a70a34ad157e6d6c213e90fb2c0cfd09397dec22fa36fd1eb038359dae299bf540b57beaa8753068d SHA512 a200c750914f3b65e919c63cc16ff4c4dd78bac3564ac70efd3b0da35d032278044d2f034bc78eacf8f9efbd971a8b9b12433c640ebcee35e400c322fb8f3f88 DIST genpatches-4.9-334.experimental.tar.xz 106352 BLAKE2B b5b4c3ea51ee6e9a4db7c0b765648d61127dca9a9685ccb260a222e91fe37db4219abce81b76e66df948e53fb2edeaa5a7d4c5d092e2e134b32beadd70ee0171 SHA512 d9908cce30c16d1e54f7b82816b0f2df753c422686bf492c5de8e0ced3d5dd1ae1ff63d6383835d9b2dff00d036ae7f5b226b03c8fc2eddeb260bd32e513b5cf DIST genpatches-4.9-334.extras.tar.xz 3676 BLAKE2B 8871ca3d4edf00f37ba2f52da71fc33986571bf5ece6e792cccc4f02be843e9fb811ea33465befbacd37fa4eae52dee5c7d0d383d76f463a06b47ea86e68bbd4 SHA512 157b056a2a0803bede7e9538e3186088d52c8e4c4bb531e62b141c73a0c2255de07da7c83a5b62772e5fada6040a85779abbc6a6b350f09fbbdb828d769a4a38 -DIST genpatches-5.10-158.base.tar.xz 4211444 BLAKE2B 0dc1d053275d080f7e61a280f8311c3da1a1497b929e6d1d4f24a15b7e6b5f4bebd4fdd49fe90137b7a01b5d1f4df60ed7c7bbe0089505a54632618d90b5fa63 SHA512 6630ede665881b848a768b0f959820be4370ea5ecc897e6fe819a186568d11d58373056266c62d858d004153fb894dbc64df48e03098bba4f68b560a5e273b70 -DIST genpatches-5.10-158.experimental.tar.xz 16872 BLAKE2B 5a1ce33f79ea8db3729b8afee36e145302ce7d45bc0548b7524fdee52049f27687c8638aab11302615697169777049a5fdb7b337e63c9c8a5e99afd5272dee15 SHA512 9b09ad4092e9a24b0794b872584388bf5424b1dfe4695a71cda370c4e07d8dc9918f98cd40db16a4988e79232aa1d05a7e3081b120c7a7ccda3fca175be994cd -DIST genpatches-5.10-158.extras.tar.xz 3868 BLAKE2B c2cb0c011084012b46fede2333a7022bb78a4c92e675fdba5ba2c44f37cef35e6f0334dbfdf69b6b6c0602793a5821660aba29236d011eaed808f8db9b42c876 SHA512 85dc76fbfcc1cb8064faf012b8bb40eb1c6b7e2ab0adbf2af191b5c3ea0c6f57a685dd53d1e3c6266de4b88c414516371001d8b95648b02adb5c4f25d7ca1049 DIST genpatches-5.10-159.base.tar.xz 4292244 BLAKE2B f2afd1af247c7c7833787f4fcba41f36793233de4f3c14602afb18b6ebd7ac918ab49f8be4c1f8481cd9f6249992a7cdd7b532df029e436ff7f05780c8671578 SHA512 f8cdf11ffa78229db60eb33134b7648c75b2ea08e9f521126497abd19dcd6aa7b50b638a9ebc61871c249bd2e8f117b2faad96b3d6afed0235f56f25ec073976 DIST genpatches-5.10-159.experimental.tar.xz 16872 BLAKE2B b80656a9633b29f2f10bf1a95cccb9392a3336c5feaf782286c92c0f13c2f5bd7a0e04b4d3a640d689c7afd2d5991cb935e09a54bbd0cc69a38ea5d9b2c7bb7e SHA512 34b8fa832d77e4398e2f859d4dccd18576a528d28a8c50b87fca8d9c911e65b34b02e38fcf93df5f86412ab3b413260c9d5a63e92a561e81be7b1ad5d33cf527 DIST genpatches-5.10-159.extras.tar.xz 3868 BLAKE2B 2cd0fc67c5b6f89303e3dcf5492b944eb048623c3ee865521933793af8cc2837d841e5f740035b1ad46a5b2f805f6fa8f1004f824ee3967c545c417e7c3b2513 SHA512 3b5b76c7220c1068ee2d29c48635655af4a227f542a870c3c140f7eea256f3d3e2c3df160c6bf193e595f150c2b51f66818c646af1ba679f94ec0c4086fe8b27 DIST genpatches-5.10-160.base.tar.xz 4292896 BLAKE2B 23f6fc8d45f13b190f6fcf4532c266550dd186d48b67d8d48b839f683d453394b29c8898abbe730699c52385e28815d9353fec8c2efd8fdccb25d4102f5c2f3d SHA512 0f5ad6a3fad45ffc8ec01d43f02caf872d819e7f5e744207b2f6bebab3ec356e83e5208ac08ef23065ace4a67295621d2a5aa74b1c720f1643311b2819ecce08 DIST genpatches-5.10-160.experimental.tar.xz 16864 BLAKE2B e095bea1d0b4e65afb1b14ce448ef9b360c86ae11e57afbcc00df59f094b355decf2be6db8cfc00c9954610945b5bdda706ecf5f6b5bdc1d5885e0aadb0d8e94 SHA512 66313f86e42ce5f413b6e0509acba1de6e784265f6ba11e78747a769bd229e81e9de83196502ad6d622729b03b72999c3ac8cc4e0caffcf3d22495cef86b37b7 DIST genpatches-5.10-160.extras.tar.xz 3872 BLAKE2B 4168fd4f59232f91d3f50faff5bdff7da05e6b0decbfe5fa8b0cf7ac21a083eaec162d0be6422667a2e895b0005ea526ff134a4a353f035b442687716033178c SHA512 2876f3dcaee91cd20d5f41f77e0f375c3548b9d0a988ded464c9a39ca53f3b0ab7eb1f9cbe75b6397106fc48a869131724814cd7d01261d5f511dc3e6c00a3e5 -DIST genpatches-5.15-78.base.tar.xz 3076864 BLAKE2B e868bff991ca299fe186380ef4e7222029fadf1eda5adf66ac6861fba5febcb222c69db93dedc3280c45a4a222f5800a497c12dd47425071b7dd5263ee680c3e SHA512 5018436394bc934ee2f0b50a3b012fbf86a615108bbf16d18d636b202d66d2bb75d9b04cabb87e75fbc7360c137ea52961609e90643caa2d9779628fd3292b60 -DIST genpatches-5.15-78.experimental.tar.xz 5420 BLAKE2B bf4aea35df32ae2a9b936804af40e994b65a91bd8f6d89e86e43c573bfaad5110c42ef30cc78c798d3d61b0e210851105a1fb6265c54361aa4b7f9110caf730c SHA512 5d583b5fa677f69b38a7d7e919fa2633c10faf30b7d6478b06f647fbcacc6a2cd1961a07c59983446fd27e2bf0863107720a714e0ab928a731c450240cd8ee53 -DIST genpatches-5.15-78.extras.tar.xz 3932 BLAKE2B b971f35cd6b525ea2fa675909790f489b66a1bd96403d12acf47ac2cb00218181ad267649d143e37f2cc775f4892c0e3a24817c9270c27c7b937b69ad002000e SHA512 6973da0d4dc2d48c5c481a45581ca51449957bb662dc8520ae00a23056dc25f2b9d419cd2ccf9fd5244313ee2eee0b907cd367259ae1d27cbd226bbe8bbced32 DIST genpatches-5.15-79.base.tar.xz 3195612 BLAKE2B bf8edc209ecc99da4f4c05b575b095992e64ca421e9848a75ef1ff7bca84377eec93ac3bc7d23bfd4c91d529cbf1693e231b606b27ba2ead46e9c3037db10c21 SHA512 c8cdadb66f904f2083f713a58bce743e56e27440f01fe98b3ddf82aaa43401c2fabad029060e7c01590dc294edcdfa8ec6c784f24ca87a1b9fa8703ed626e4f3 DIST genpatches-5.15-79.experimental.tar.xz 5424 BLAKE2B 38d08aeb92b44140b52f1d04c311f4b07a35a578bd0da8212422ce1f14c2ebcc8fd89d2b8adeee2bfe60cb0c06ba999a0077b91299a8cf4e527d54c86a0e9617 SHA512 d5e9534b7a57b1a3d1cc5a77ffb95128ab474db51c2d3d4bbbd5b60494e323844e81a847cbb23af626a0c171d5629b3480f21fa35fb5fe1ea9917aac4d41252a DIST genpatches-5.15-79.extras.tar.xz 3932 BLAKE2B df50c7ce655f1f81d46ab6f077963afb0997ed2f6c0b70aa49c34a445d3f8938cce7201b75221705fe27c0a6f699dc553f932eeee7960a21dd89e3c55dde9306 SHA512 31e8c8aeb98e01dd1e0b25c51cfe48d5b6bc98617833229b283d35da6d7572b95dd8141592a2350ff01554bf80d918d2137ef2eb248c483ab22fc3db20a11fe3 DIST genpatches-5.19-19.base.tar.xz 1098964 BLAKE2B c79251602e677d36db4f923ad148422c1c19d9e35b33d1eead75f317ac468ba919baa0c61a690425714bc0b29d96eb47aeb1c960ec4192ccb3905df752f81ab4 SHA512 bb0ed1e481a78f8f65229db777c5d8031edbd3d31cdc0ed45e48d4f5916b838397c1ccec5d465d957673494469290a1dffc8a4466c252395348c8160f2f5cc67 DIST genpatches-5.19-19.experimental.tar.xz 73244 BLAKE2B 6d89efa7fd2c6af8145e08e0502dacea8b3bfc28a30e70a1ea82e36e2c4cf953fec159fbed97169a52d47046e23938a58bf3d8a331cdd816ed1dae6465adeff7 SHA512 9cb5bd9cd9accba3033a6b66e75879bda8d7e5a92752a878d256260c74e87ae71d79260819ec61f3b9ddd1eea9d733efbce8b8566e085ce3e081a5e830fb3470 DIST genpatches-5.19-19.extras.tar.xz 3804 BLAKE2B c73e8bb8be2845ada725f71045e69fa38c99d0561e702d38e3827cf1e25ff2ab2105e3142d0f85baea59fa4a28a4521202d222c53190b741055609551ac1039f SHA512 b6f813b816f475a120543f637857f683e82cb22484fad7149bfbc5bcdd6d5119373d915ac53d6b743197910e78fc2ebdf35bcfb3612015e571629d33740f2701 -DIST genpatches-5.4-224.base.tar.xz 5119576 BLAKE2B 3f5fa9712da6376491d9903759334ca4981a6fc9b24919ba6acb5114ce805333a26052570df1a192dc8e062ee77667b45dac62c309d37b02190e4f8a07640aea SHA512 d433e356e47f0a6be0ba3b41172618f0b9cce634e4227924d62a8487cb74af3ea0c4d3245ee4fd2936d39ed5eb839d52985866b9d796f7e7a84415a6b60f9b50 -DIST genpatches-5.4-224.experimental.tar.xz 16900 BLAKE2B 4f49641399af48b9cfa88e6379a50716cef3c99d7571beda8d675a3d6b48e6a7761638e65685ca0ad8c69f2376442ebfc5ad2601d3d1a7d462caf8d5c91cac00 SHA512 ec203ba70fa1ac631e8a9b3923ad4f47de2ed91a57eb1f9eb18516881ab950be837b4391a5570e7105706cefbc9458730dcbb0db6cd2274e2946530599cd5dd1 -DIST genpatches-5.4-224.extras.tar.xz 1812 BLAKE2B d28183946e63eedcde3ccc19d84baad11b74349abbba19501c0763ae4597150f2ad7397c19396ce07627643cae526e6ef216dfa2166d217e8452719887e7f2bd SHA512 6505c71e0da13992e0abf5ffd31b414b4bcbde4be78abee6e9d402c14eb329e212e85cca77cb79591ba6d66b3f3b4ae2014e57cd8a88b39373a5dc2403f37d26 DIST genpatches-5.4-225.base.tar.xz 5166864 BLAKE2B 20ffa864c45b41e82079158fc4645e5c809bda93c0de480aea22b2f1feac231c7eddaf031daae9939126297a197bb3cbcd48a696da76eda0fe8591cac817103b SHA512 da6a1febb01a772d8ba454de51fe902830461bcbd87e76f8f459bf9adbb8bbe2493914c5ebd4f291ea59bcfedea34d3aa96baf98409e84220240d70c17ab66a1 DIST genpatches-5.4-225.experimental.tar.xz 16900 BLAKE2B 9d4f708d5b0bf8775c38ab802a5841b2e92b3ed6edae9bb589c5c570f2fdc113ef15849b91285b3555a497185ee7c52cba06f450163dccc3d35132d1f831ab6e SHA512 b469e8c92f97cd545fcc872134f23e833898775ecd16eb677f11c8ca22a06bd38d796623ec743e72452d47930196984ac904e548d025cb3dfbbf164c5431f681 DIST genpatches-5.4-225.extras.tar.xz 1812 BLAKE2B 9f10288c90b85f42bb95694c9fc215f680251d121cc371495b798081beb4cb6a6bea10a54e291a187cf4f194a9edf7ee479b461dc188b1187692784651f1042f SHA512 0b9215d36bd6e04e0a7aae544997d10db03770a9e43b152c266b8ed099a12fd8b6da851d81a0b3885e5e4965bf5d9fa5cfa3a6fa3f1ea9642e6ca7b9abef124e -DIST genpatches-6.0-4.base.tar.xz 272160 BLAKE2B 3758714884e31f3ddb414d2011752cdf7fd2da9d54b6dd455e9b9ec559c0201fd7753df98a1cba0618f209552419a56ef8747ac0283f794a41769dc41b3844ad SHA512 ef8292b96f10586cbc9a9ba820bed3b3f30ab1e4b90d3452d94b5e44dd4c333818c99bf6cee1272416e83cda424942be84a7aa6f270687192d94a583e8a836c0 -DIST genpatches-6.0-4.experimental.tar.xz 5404 BLAKE2B 103b72e840e612d03dba399397bc6570b630968b4d29ab3d0b17a546adbc22d1ef37f7b0bebd92142085948085b006e22d0647a27faa448018857d8ba8647aff SHA512 5489e40b0c8f2402f4998e19dbb1e864f03c088e603c83d66da86917df694827b1a6092cbc2233b03432f31efb6cd1439e1c6b78c22de37e96eebe9ebdc472ff -DIST genpatches-6.0-4.extras.tar.xz 3808 BLAKE2B 42c2695cc364ed353e1ccfa945c6f69c2b3c81e32149de5134eeaf2a738b67a952ae33ace111122bf2c58083c81a4e056e8f666693d02c39f6631a7502c36038 SHA512 305cf01975f19237de99a40dfb2a395f0084809f00040296e5ec36ed949b4301cf7887dcd3f6e287945f8d92f3544e84f3ace2ba60d6720ae09458475159132c DIST genpatches-6.0-5.base.tar.xz 279980 BLAKE2B 72e3445a0d791825d6aebfed695bde22454c1d3891176756d90b2cd6aaefa8051bc22a8c7b39326f2889e947d2f65112d386f8d158d1a5327aca142a9d2312fa SHA512 e74152dde7f6c6e511c500ab1038f5a5bd2473354fac8ade6293c43c288ead3e2549fe8f0a02ff205fd72f5947401372cee34425dc2cf23ed3bf1198ad7b6123 DIST genpatches-6.0-5.experimental.tar.xz 5404 BLAKE2B 29f7bdcdb8cd838064412e823f99b78738a359e4cd7717361e1781e57d966f1d74daf34a6e78e6c770df5585229882e6b4600ea8c3f31ba159f83bc54338912d SHA512 9334a0c8fbb3478be8ddce93a6441136490e3163bf7dec9034248acaae276de8c0e17a1265330cd7e0edfbb7e8b6b8ff7aceb6e34ac190dd02b2e15dee4ff329 DIST genpatches-6.0-5.extras.tar.xz 3804 BLAKE2B 36e9a4a81f9cc9bea2dab9138bbfa9e380ef6e6d1305ff27072f96be23a8be691c20505c07d0034f0cead7b0f955e463485fc7d488b04ccb951a27eb3aabfb39 SHA512 b0c4a0640f20bbad1c5a5ce4a4c7413c1bd3fa1463be6d8dde3447d0131beb0a5809be53d2df7660516affe4b35f9b88a6ad8ff1b8575cf76f01bc086e4ccf60 @@ -88,14 +76,10 @@ EBUILD gentoo-sources-4.9.321.ebuild 667 BLAKE2B 444003c6649801be27c4571babb82c7 EBUILD gentoo-sources-4.9.329.ebuild 735 BLAKE2B d8bdafd9ae65b5160e244cce0781e1e91beec4f923c116fa978cf230162ec21babf8e970bb6d2e62853c0b189cc7f3fe355923a2e97d711f1246efc8110d8ee1 SHA512 6a1df6636f09fa5ab4aa121b3303e2a346d24e6d626310cda7005d848150d216ae124b4728baf2790824320e954daf2acd825c07b88bb9d4f8dc348ccc8bcb21 EBUILD gentoo-sources-4.9.330.ebuild 742 BLAKE2B f08b8f1e4d1402a75d8cbfefe9c0b92b135f51a936dd5d43523200fe2247908d5818f1e081fb3e1a94edb8aa0f7b84f0491671e5c39dc54d8477b0211a495541 SHA512 a8c90a1b2be46603442b17bab686c9d4b5c355502b443261c3a0ab3f7381ac75c2838931c7bd7df982f0d8c806566d7d250a969b91ed25cdc2931d3d62c379da EBUILD gentoo-sources-4.9.331.ebuild 742 BLAKE2B d6ed761901e2a757a14532208608c54721fa7f39333f7bb3d08a6e9a479d43d2978cfc40867ea3b711266b6cdee0ecd7124c1453b2868e0282d0935c6427865d SHA512 7afa1e07ec2c39d7b880fb35070af650041653f713f1d8ed56d7484114558a9d73bb05fe537ff1a8c6cdaac68b4623defb566f7a41d011a33e23a81dbf6a41e4 -EBUILD gentoo-sources-5.10.149.ebuild 741 BLAKE2B baab5ce976169f3307165030922df507b491967ce5620006e8d32cade5197ef9f0304bbdd0042e52fe6cfde2fd4666f7288651aead223444301e12dda4e66bbc SHA512 054e5c9a4b30fc8c1a39810b8f31ea7fe126b2ccd62204b2d78c3251fd78d1de3e012c31fb6a826353e33590b3532bcc18ff3d9a5bf4f512bc3e857c5fb94fee EBUILD gentoo-sources-5.10.150.ebuild 741 BLAKE2B 065a9625b63aff715ceb2a04b62a203086046981d57fc5f8ceaeba58320104d9489fee5d3e5f6b2ddcd4f19c97aa0e72dfa20a9fdee7cef00a6b317147e3c752 SHA512 ca2aa36ba127991f4feb587eeb33b4729c9ce161fe5660a0f601d91a479446bd64fbd8f56b26037abe319c04dfa955f1a8b430e2503aaf4687d7a7eac0fdce7d EBUILD gentoo-sources-5.10.151.ebuild 749 BLAKE2B fd82593d1e9d5fac3dd7a95be52dd7beb3b13aa3abbb2b27f367c1ddde5e64a9b502f8bf972c8993f37ccc01ed1615967334d437b8e7543f891b3cff6196906e SHA512 4e3dbc04a0760401ea105b838174d1a23a4ccf1f481e6f60fc81c6238857e7e6323721b2414fae5216d23394b9b0466cc3ab9055579f76c708a5b360b7f37a34 -EBUILD gentoo-sources-5.15.74.ebuild 740 BLAKE2B fb89c3c7a6e33ab5c8fdb37e9ddf9f9c7cfc3c15baf505c5036b14f12d876b497edaba51723ce85283d9734b53ebb84b5ae089e65eacbef748253f7ee7bd78cb SHA512 517c90929232ffa17c783ca4243d7f955a6a19d5da244770d6739596df4929a7ee0462c5cca76565e5287fb35f950c6f1f5a85a905a0acb21787aaa9038cb923 EBUILD gentoo-sources-5.15.75.ebuild 740 BLAKE2B c86e533cf8dbdded46665e03dc0a4d369a992257f42da69aeb42112bddbf0abc396452149a0ffbfda885e5a3302211d5db6a91f5ee86d21ee0616ec4da184fca SHA512 d8f5e3ca35aeaf2a4a4ef962ec753dd55868f69ab445fcef6095889cc6cccc2df731bbde917fc56cf54106ff0e9a3be5068b4503649c99b08227e6790743a626 EBUILD gentoo-sources-5.19.17.ebuild 757 BLAKE2B 6e24c356b5467f2d9e34b9b11587f0220b39114945ad8c8523e877ff37527789383a8d88f464ce5aab945d7e43e740d967df9c1c87584972ba85ec29cc49a11f SHA512 14961c8e6525c0fd38e3346ddca99c85782e68ba75aa919e866524a264db853ed2c997741a86a1aa6b7e59eff4e5fa15015f9b9ad933aaf6456e2f2db672dc96 -EBUILD gentoo-sources-5.4.219.ebuild 734 BLAKE2B c19c0cd5d15ea9f6ebed81a797d6994a434dfbafe3be4634fb059fa4bd11a54160d7f334c4845dae40461b6c24ac5c40ec2741c9b5cd2466c81ad38c347921fa SHA512 978fe7cb95044c363b8609ba3ddd76cd185ca87c1a763d814f3941099629737a083a532f58c138a1fb9b9a46d20ca512ca677980622a41de7520b0a200aa4d61 EBUILD gentoo-sources-5.4.220.ebuild 734 BLAKE2B 922e1bd7f9ca6b07a17a58d8b592fed1c438eb160ead222a4ff515c4cd9f67e559caa37e321c5f2c526c0765abd119a4d94aa04b0c522d08c3a0935843ebfba1 SHA512 a79134afe8a8e35f3a3df35cf8086339f8e7a1e36e90844f47128d0946aeb8a60be1870eca0007fcd74e568c1c12e28d24d5a78615a77c0ee99b37a5df179442 -EBUILD gentoo-sources-6.0.3.ebuild 741 BLAKE2B 5ea1c1e649245e1c156ec44d9d454fded0e208ab1b0306f971808112994d7597760ad9bb0e5e518226098e812b9855272b2326bddedc21356d2a0e6756c16dca SHA512 b4c10e3ea61260f2df9ba92c7f6ec5a3b34ef12772fe4b3631a3c43948037f0709d6069b5bdfe7ef3855d19ca0fb1e6f491d8285769ad94a167b259e6fd00575 EBUILD gentoo-sources-6.0.5.ebuild 741 BLAKE2B 1a7d328ea3676f0ac0a9e6bff442e83aa76725ea7898a9b4eb6d2521a2d18dee30b283791dc75c433d15fdb1685b7bb00d535e1a4926b678021699e95c8b9bf2 SHA512 d187671f1cea171181e15f8c5d80124861a780566f57ad5fd051fae05c2ef330570fd02326630995062d9c7e1a1e4395ca80c73012e9fc3b2acc362f17e94f33 MISC metadata.xml 501 BLAKE2B f5363c8a19540d5bb924b38bdebeb8dbc60c84e58d1d87a9148a3e7abb09b0a1b733c98b130b778b8ab3a88375598444aa9d537d8c5338864a3d4497600d7836 SHA512 bc1ba0d75dbf5b95b3f93e666389c6408f20aebeec99bc8ec00653758b67588e07214285ed106fd9e5aed2c8d57c625d666c797212fda51e1ab98ce1df816467 diff --git a/sys-kernel/gentoo-sources/gentoo-sources-5.10.149.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-5.10.149.ebuild deleted file mode 100644 index 05e6263e4036..000000000000 --- a/sys-kernel/gentoo-sources/gentoo-sources-5.10.149.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" -ETYPE="sources" -K_WANT_GENPATCHES="base extras experimental" -K_GENPATCHES_VER="158" - -inherit kernel-2 -detect_version -detect_arch - -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" -IUSE="experimental" - -DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" -SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" - -pkg_postinst() { - kernel-2_pkg_postinst - einfo "For more info on this patchset, and how to report problems, see:" - einfo "${HOMEPAGE}" -} - -pkg_postrm() { - kernel-2_pkg_postrm -} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-5.15.74.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-5.15.74.ebuild deleted file mode 100644 index f2eb96321149..000000000000 --- a/sys-kernel/gentoo-sources/gentoo-sources-5.15.74.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" -ETYPE="sources" -K_WANT_GENPATCHES="base extras experimental" -K_GENPATCHES_VER="78" - -inherit kernel-2 -detect_version -detect_arch - -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" -IUSE="experimental" - -DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" -SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" - -pkg_postinst() { - kernel-2_pkg_postinst - einfo "For more info on this patchset, and how to report problems, see:" - einfo "${HOMEPAGE}" -} - -pkg_postrm() { - kernel-2_pkg_postrm -} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-5.4.219.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-5.4.219.ebuild deleted file mode 100644 index f729fdfe2950..000000000000 --- a/sys-kernel/gentoo-sources/gentoo-sources-5.4.219.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" -ETYPE="sources" -K_WANT_GENPATCHES="base extras experimental" -K_GENPATCHES_VER="224" - -inherit kernel-2 -detect_version -detect_arch - -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86" -HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" -IUSE="experimental" - -DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" -SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" - -pkg_postinst() { - kernel-2_pkg_postinst - einfo "For more info on this patchset, and how to report problems, see:" - einfo "${HOMEPAGE}" -} - -pkg_postrm() { - kernel-2_pkg_postrm -} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-6.0.3.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.0.3.ebuild deleted file mode 100644 index 02c0443368ef..000000000000 --- a/sys-kernel/gentoo-sources/gentoo-sources-6.0.3.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" -ETYPE="sources" -K_WANT_GENPATCHES="base extras experimental" -K_GENPATCHES_VER="4" - -inherit kernel-2 -detect_version -detect_arch - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" -IUSE="experimental" - -DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" -SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" - -pkg_postinst() { - kernel-2_pkg_postinst - einfo "For more info on this patchset, and how to report problems, see:" - einfo "${HOMEPAGE}" -} - -pkg_postrm() { - kernel-2_pkg_postrm -} diff --git a/sys-kernel/linux-firmware/Manifest b/sys-kernel/linux-firmware/Manifest index 90c336b0af9e..139a8f03a5d3 100644 --- a/sys-kernel/linux-firmware/Manifest +++ b/sys-kernel/linux-firmware/Manifest @@ -17,6 +17,7 @@ EBUILD linux-firmware-20220610.ebuild 9800 BLAKE2B ddd7ff41cf1e2e86da288de91078f EBUILD linux-firmware-20220708.ebuild 9735 BLAKE2B 6d233c4e2ceb85955d039a7b4323e3d102f28b9531281f0d4cbfe5229ec051384ed383eb977922a0e31b8783daace3b5176a22c4f00df4d70bc9799d8dbbe6ea SHA512 22ddcc5a34c7cc6789adbed9b6556ec67218a19cd8c9ed1f806d5013e609e956cc4f8162beb2e8ffd01021da99889be4920c5fc9a4b0b9a82dd5a040988ca726 EBUILD linux-firmware-20220815.ebuild 9735 BLAKE2B 6d233c4e2ceb85955d039a7b4323e3d102f28b9531281f0d4cbfe5229ec051384ed383eb977922a0e31b8783daace3b5176a22c4f00df4d70bc9799d8dbbe6ea SHA512 22ddcc5a34c7cc6789adbed9b6556ec67218a19cd8c9ed1f806d5013e609e956cc4f8162beb2e8ffd01021da99889be4920c5fc9a4b0b9a82dd5a040988ca726 EBUILD linux-firmware-20220913-r2.ebuild 9901 BLAKE2B 7c1def3ff8d49722abab2c298fafbd637df5b6f21cd5171b8a169149f752aca8415d8535b3068cd5433e8449d0465b5680fdd73a9796af5d1bb285b84ebefead SHA512 d99dcb62bd50a36895f64396fddb517483a6892c7930ae81af7aab273605402eb1006a649f8fa2419de6fe5e08d26aaf28cf50ae20d40b04128b4efc6f80be9f +EBUILD linux-firmware-20221012-r1.ebuild 10389 BLAKE2B 974245aee6d4eef5d0753c769fbe883852f733882753da262679bd8bc938ed321d1dc5e882992238cb0a22b955a59eea5a02bfe6ac9947c5ca3ecb08036f3926 SHA512 51655006247935eaf92ef0bbe33f93cf59c80869ebb9625d6dd36687d1c6ef522ca900bd545abb929d2275e9960f69e1e285552a0adf64bba84caebcabcf36ce EBUILD linux-firmware-20221012.ebuild 9901 BLAKE2B 7c1def3ff8d49722abab2c298fafbd637df5b6f21cd5171b8a169149f752aca8415d8535b3068cd5433e8449d0465b5680fdd73a9796af5d1bb285b84ebefead SHA512 d99dcb62bd50a36895f64396fddb517483a6892c7930ae81af7aab273605402eb1006a649f8fa2419de6fe5e08d26aaf28cf50ae20d40b04128b4efc6f80be9f -EBUILD linux-firmware-99999999.ebuild 9691 BLAKE2B c9076729135f91fd4491b6df406da45837f071e3ab7f2ee475a2770d87e7929adefb87927c5133934b20b7ac8abf5675531180dc99a5d30f44ea71697e0e837e SHA512 8c04303e8b8add3c798cbac06ebff4a0048c1d75ae1e81b341c158d363755dfd036c39c8fbeab3e18e167a544be7826a175c70997b183b9970bc921db4b13664 -MISC metadata.xml 970 BLAKE2B b775ae0bf7cecb73829acb649595bb15c0cf95dd696b02223023ed97d42b57fa2ecc3523d678ff1dbafd27b3d71d1f27f5661adc0dfe07a416563b523682c776 SHA512 649289c0e622b28d31598524ecb48470d274a6835f6c2de00de95b114038e2d5d0f42354aaf1948da55e51060a9b3a87c8bb30f5a7b2124e373818de4e945860 +EBUILD linux-firmware-99999999.ebuild 10389 BLAKE2B 974245aee6d4eef5d0753c769fbe883852f733882753da262679bd8bc938ed321d1dc5e882992238cb0a22b955a59eea5a02bfe6ac9947c5ca3ecb08036f3926 SHA512 51655006247935eaf92ef0bbe33f93cf59c80869ebb9625d6dd36687d1c6ef522ca900bd545abb929d2275e9960f69e1e285552a0adf64bba84caebcabcf36ce +MISC metadata.xml 1078 BLAKE2B aa7843ce53c1cea1068a0dccef91a9c0e27887b3d2b3d1e440045808e9347b473b1cc3421f6237d934bf98168da4edf773ca0ed553e758f72cc102ac3ec754d2 SHA512 547ec53a88d603254b162e38ea6f9ab1c0179a12427417141d4cf1d62aaf9ad07823ce12a78fc49bca3a933f29f1b75cb9c0f056637ce3c533061935ce87deed diff --git a/sys-kernel/linux-firmware/linux-firmware-20221012-r1.ebuild b/sys-kernel/linux-firmware/linux-firmware-20221012-r1.ebuild new file mode 100644 index 000000000000..83806f04167f --- /dev/null +++ b/sys-kernel/linux-firmware/linux-firmware-20221012-r1.ebuild @@ -0,0 +1,374 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit linux-info mount-boot savedconfig multiprocessing + +# In case this is a real snapshot, fill in commit below. +# For normal, tagged releases, leave blank +MY_COMMIT="" + +if [[ ${PV} == 99999999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" +else + if [[ -n "${MY_COMMIT}" ]]; then + SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${MY_COMMIT}" + else + SRC_URI="https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/${P}.tar.xz" + fi + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Linux firmware files" +HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git" + +LICENSE="GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 ) + redistributable? ( + linux-fw-redistributable ( BSD-2 BSD BSD-4 ISC MIT no-source-code ) ) + unknown-license? ( all-rights-reserved )" +SLOT="0" +IUSE="compress initramfs +redistributable savedconfig unknown-license" +REQUIRED_USE="initramfs? ( redistributable )" + +RESTRICT="binchecks strip test + unknown-license? ( bindist )" + +BDEPEND="initramfs? ( app-arch/cpio )" + +#add anything else that collides to this +RDEPEND="!savedconfig? ( + redistributable? ( + !sys-firmware/alsa-firmware[alsa_cards_ca0132] + !sys-block/qla-fc-firmware + !sys-firmware/iwl1000-ucode + !sys-firmware/iwl6005-ucode + !sys-firmware/iwl6030-ucode + !sys-firmware/iwl3160-ucode + !sys-firmware/iwl7260-ucode + !sys-firmware/iwl3160-7260-bt-ucode + !sys-firmware/raspberrypi-wifi-ucode + ) + unknown-license? ( + !sys-firmware/alsa-firmware[alsa_cards_korg1212] + !sys-firmware/alsa-firmware[alsa_cards_maestro3] + !sys-firmware/alsa-firmware[alsa_cards_sb16] + !sys-firmware/alsa-firmware[alsa_cards_ymfpci] + ) + )" + +QA_PREBUILT="*" + +pkg_setup() { + if ! use compress ; then + return + fi + + local CONFIG_CHECK="~FW_LOADER_COMPRESS" + linux-info_pkg_setup +} + +pkg_pretend() { + use initramfs && mount-boot_pkg_pretend +} + +src_unpack() { + if [[ ${PV} == 99999999* ]]; then + git-r3_src_unpack + else + default + # rename directory from git snapshot tarball + if [[ ${#GIT_COMMIT} -gt 8 ]]; then + mv ${PN}-*/ ${P} || die + fi + fi +} + +src_prepare() { + default + + find . -type f -not -perm 0644 -print0 \ + | xargs --null --no-run-if-empty chmod 0644 \ + || die + + chmod +x copy-firmware.sh || die + + if use initramfs; then + if [[ -d "${S}/amd-ucode" ]]; then + local UCODETMP="${T}/ucode_tmp" + local UCODEDIR="${UCODETMP}/kernel/x86/microcode" + mkdir -p "${UCODEDIR}" || die + echo 1 > "${UCODETMP}/early_cpio" + + local amd_ucode_file="${UCODEDIR}/AuthenticAMD.bin" + cat "${S}"/amd-ucode/*.bin > "${amd_ucode_file}" || die "Failed to concat amd cpu ucode" + + if [[ ! -s "${amd_ucode_file}" ]]; then + die "Sanity check failed: '${amd_ucode_file}' is empty!" + fi + + pushd "${UCODETMP}" &>/dev/null || die + find . -print0 | cpio --quiet --null -o -H newc -R 0:0 > "${S}"/amd-uc.img + popd &>/dev/null || die + if [[ ! -s "${S}/amd-uc.img" ]]; then + die "Failed to create '${S}/amd-uc.img'!" + fi + else + # If this will ever happen something has changed which + # must be reviewed + die "'${S}/amd-ucode' not found!" + fi + fi + + # whitelist of misc files + local misc_files=( + copy-firmware.sh + WHENCE + README + ) + + # whitelist of images with a free software license + local free_software=( + # keyspan_pda (GPL-2+) + keyspan_pda/keyspan_pda.fw + keyspan_pda/xircom_pgs.fw + # dsp56k (GPL-2+) + dsp56k/bootstrap.bin + # ath9k_htc (BSD GPL-2+ MIT) + ath9k_htc/htc_7010-1.4.0.fw + ath9k_htc/htc_9271-1.4.0.fw + # pcnet_cs, 3c589_cs, 3c574_cs, serial_cs (dual GPL-2/MPL-1.1) + cis/LA-PCM.cis + cis/PCMLM28.cis + cis/DP83903.cis + cis/NE2K.cis + cis/tamarack.cis + cis/PE-200.cis + cis/PE520.cis + cis/3CXEM556.cis + cis/3CCFEM556.cis + cis/MT5634ZLX.cis + cis/RS-COM-2P.cis + cis/COMpad2.cis + cis/COMpad4.cis + # serial_cs (GPL-3) + cis/SW_555_SER.cis + cis/SW_7xx_SER.cis + cis/SW_8xx_SER.cis + # dvb-ttpci (GPL-2+) + av7110/bootcode.bin + # usbdux, usbduxfast, usbduxsigma (GPL-2+) + usbdux_firmware.bin + usbduxfast_firmware.bin + usbduxsigma_firmware.bin + # brcmfmac (GPL-2+) + brcm/brcmfmac4330-sdio.Prowise-PT301.txt + brcm/brcmfmac43340-sdio.meegopad-t08.txt + brcm/brcmfmac43362-sdio.cubietech,cubietruck.txt + brcm/brcmfmac43362-sdio.lemaker,bananapro.txt + brcm/brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt + "brcm/brcmfmac43430a0-sdio.ONDA-V80 PLUS.txt" + brcm/brcmfmac43430-sdio.AP6212.txt + brcm/brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt + brcm/brcmfmac43430-sdio.MUR1DX.txt + brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt + brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt + brcm/brcmfmac4356-pcie.gpd-win-pocket.txt + # isci (GPL-2) + isci/isci_firmware.bin + # carl9170 (GPL-2+) + carl9170-1.fw + # atusb (GPL-2+) + atusb/atusb-0.2.dfu + atusb/atusb-0.3.dfu + atusb/rzusb-0.3.bin + # mlxsw_spectrum (dual BSD/GPL-2) + mellanox/mlxsw_spectrum-13.1420.122.mfa2 + mellanox/mlxsw_spectrum-13.1530.152.mfa2 + mellanox/mlxsw_spectrum-13.1620.192.mfa2 + mellanox/mlxsw_spectrum-13.1702.6.mfa2 + mellanox/mlxsw_spectrum-13.1703.4.mfa2 + mellanox/mlxsw_spectrum-13.1910.622.mfa2 + mellanox/mlxsw_spectrum-13.2000.1122.mfa2 + ) + + # blacklist of images with unknown license + local unknown_license=( + korg/k1212.dsp + ess/maestro3_assp_kernel.fw + ess/maestro3_assp_minisrc.fw + yamaha/ds1_ctrl.fw + yamaha/ds1_dsp.fw + yamaha/ds1e_ctrl.fw + ttusb-budget/dspbootcode.bin + emi62/bitstream.fw + emi62/loader.fw + emi62/midi.fw + emi62/spdif.fw + ti_3410.fw + ti_5052.fw + mts_mt9234mu.fw + mts_mt9234zba.fw + whiteheat.fw + whiteheat_loader.fw + cpia2/stv0672_vp4.bin + vicam/firmware.fw + edgeport/boot.fw + edgeport/boot2.fw + edgeport/down.fw + edgeport/down2.fw + edgeport/down3.bin + sb16/mulaw_main.csp + sb16/alaw_main.csp + sb16/ima_adpcm_init.csp + sb16/ima_adpcm_playback.csp + sb16/ima_adpcm_capture.csp + sun/cassini.bin + acenic/tg1.bin + acenic/tg2.bin + adaptec/starfire_rx.bin + adaptec/starfire_tx.bin + yam/1200.bin + yam/9600.bin + ositech/Xilinx7OD.bin + qlogic/isp1000.bin + myricom/lanai.bin + yamaha/yss225_registers.bin + lgs8g75.fw + ) + + if use !unknown-license; then + einfo "Removing files with unknown license ..." + rm -v "${unknown_license[@]}" || die + fi + + if use !redistributable; then + # remove files _not_ in the free_software or unknown_license lists + # everything else is confirmed (or assumed) to be redistributable + # based on upstream acceptance policy + einfo "Removing non-redistributable files ..." + local OLDIFS="${IFS}" + local IFS=$'\n' + set -o pipefail + find ! -type d -printf "%P\n" \ + | grep -Fvx -e "${misc_files[*]}" -e "${free_software[*]}" -e "${unknown_license[*]}" \ + | xargs -d '\n' --no-run-if-empty rm -v + + [[ ${?} -ne 0 ]] && die "Failed to remove non-redistributable files" + + IFS="${OLDIFS}" + fi + + restore_config ${PN}.conf +} + +src_install() { + ./copy-firmware.sh -v "${ED}/lib/firmware" || die + + pushd "${ED}/lib/firmware" &>/dev/null || die + + # especially use !redistributable will cause some broken symlinks + einfo "Removing broken symlinks ..." + find * -xtype l -print -delete || die + + if use savedconfig; then + if [[ -s "${S}/${PN}.conf" ]]; then + local files_to_keep="${T}/files_to_keep.lst" + grep -v '^#' "${S}/${PN}.conf" 2>/dev/null > "${files_to_keep}" || die + [[ -s "${files_to_keep}" ]] || die "grep failed, empty config file?" + + einfo "Applying USE=savedconfig; Removing all files not listed in config ..." + find ! -type d -printf "%P\n" \ + | grep -Fvx -f "${files_to_keep}" \ + | xargs -d '\n' --no-run-if-empty rm -v + + if [[ ${PIPESTATUS[0]} -ne 0 ]]; then + die "Find failed to print installed files" + elif [[ ${PIPESTATUS[1]} -eq 2 ]]; then + # grep returns exit status 1 if no lines were selected + # which is the case when we want to keep all files + die "Grep failed to select files to keep" + elif [[ ${PIPESTATUS[2]} -ne 0 ]]; then + die "Failed to remove files not listed in config" + fi + fi + fi + + # remove empty directories, bug #396073 + find -type d -empty -delete || die + + # sanity check + if ! ( shopt -s failglob; : * ) 2>/dev/null; then + eerror "No files to install. Check your USE flag settings" + eerror "and the list of files in your saved configuration." + die "Refusing to install an empty package" + fi + + # create config file + echo "# Remove files that shall not be installed from this list." > "${S}"/${PN}.conf || die + find * ! -type d >> "${S}"/${PN}.conf || die + save_config "${S}"/${PN}.conf + + if use compress ; then + while IFS= read -r -d '' f; do + target=$(readlink "${f}") + ln -sf "${target}".xz "${f}" || die + mv "${f}" "${f}".xz || die + done < <(find . -type l -print0) || die + + find . -type f ! -path "./amd-ucode/*" -print0 | \ + xargs -0 -P $(makeopts_jobs) -I'{}' xz -T1 -C crc32 '{}' || die + fi + + popd &>/dev/null || die + + if use initramfs ; then + insinto /boot + doins "${S}"/amd-uc.img + fi +} + +pkg_preinst() { + if use savedconfig; then + ewarn "USE=savedconfig is active. You must handle file collisions manually." + fi + + # Fix 'symlink is blocked by a directory' Bug #871315 + if has_version "<${CATEGORY}/${PN}-20220913-r2" ; then + rm -rf "${EROOT}"/lib/firmware/qcom/LENOVO/21BX + fi + + # Make sure /boot is available if needed. + use initramfs && mount-boot_pkg_preinst +} + +pkg_postinst() { + elog "If you are only interested in particular firmware files, edit the saved" + elog "configfile and remove those that you do not want." + + local ver + for ver in ${REPLACING_VERSIONS}; do + if ver_test ${ver} -lt 20190514; then + elog + elog 'Starting with version 20190514, installation of many firmware' + elog 'files is controlled by USE flags. Please review your USE flag' + elog 'and package.license settings if you are missing some files.' + break + fi + done + + # Don't forget to umount /boot if it was previously mounted by us. + use initramfs && mount-boot_pkg_postinst +} + +pkg_prerm() { + # Make sure /boot is mounted so that we can remove /boot/amd-uc.img! + use initramfs && mount-boot_pkg_prerm +} + +pkg_postrm() { + # Don't forget to umount /boot if it was previously mounted by us. + use initramfs && mount-boot_pkg_postrm +} diff --git a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild index 838ce9db7b42..83806f04167f 100644 --- a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild +++ b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild @@ -2,11 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit mount-boot savedconfig +inherit linux-info mount-boot savedconfig multiprocessing # In case this is a real snapshot, fill in commit below. # For normal, tagged releases, leave blank -MY_COMMIT= +MY_COMMIT="" if [[ ${PV} == 99999999* ]]; then inherit git-r3 @@ -14,11 +14,12 @@ if [[ ${PV} == 99999999* ]]; then else if [[ -n "${MY_COMMIT}" ]]; then SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${MY_COMMIT}" else SRC_URI="https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/${P}.tar.xz" fi - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi DESCRIPTION="Linux firmware files" @@ -29,7 +30,7 @@ LICENSE="GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 ) linux-fw-redistributable ( BSD-2 BSD BSD-4 ISC MIT no-source-code ) ) unknown-license? ( all-rights-reserved )" SLOT="0" -IUSE="initramfs +redistributable savedconfig unknown-license" +IUSE="compress initramfs +redistributable savedconfig unknown-license" REQUIRED_USE="initramfs? ( redistributable )" RESTRICT="binchecks strip test @@ -60,6 +61,15 @@ RDEPEND="!savedconfig? ( QA_PREBUILT="*" +pkg_setup() { + if ! use compress ; then + return + fi + + local CONFIG_CHECK="~FW_LOADER_COMPRESS" + linux-info_pkg_setup +} + pkg_pretend() { use initramfs && mount-boot_pkg_pretend } @@ -301,6 +311,17 @@ src_install() { find * ! -type d >> "${S}"/${PN}.conf || die save_config "${S}"/${PN}.conf + if use compress ; then + while IFS= read -r -d '' f; do + target=$(readlink "${f}") + ln -sf "${target}".xz "${f}" || die + mv "${f}" "${f}".xz || die + done < <(find . -type l -print0) || die + + find . -type f ! -path "./amd-ucode/*" -print0 | \ + xargs -0 -P $(makeopts_jobs) -I'{}' xz -T1 -C crc32 '{}' || die + fi + popd &>/dev/null || die if use initramfs ; then @@ -314,6 +335,11 @@ pkg_preinst() { ewarn "USE=savedconfig is active. You must handle file collisions manually." fi + # Fix 'symlink is blocked by a directory' Bug #871315 + if has_version "<${CATEGORY}/${PN}-20220913-r2" ; then + rm -rf "${EROOT}"/lib/firmware/qcom/LENOVO/21BX + fi + # Make sure /boot is available if needed. use initramfs && mount-boot_pkg_preinst } diff --git a/sys-kernel/linux-firmware/metadata.xml b/sys-kernel/linux-firmware/metadata.xml index d62bc079c3ee..dcaea9b2c06e 100644 --- a/sys-kernel/linux-firmware/metadata.xml +++ b/sys-kernel/linux-firmware/metadata.xml @@ -18,6 +18,7 @@ Gentoo Kernel Project + Compress firmware using xz (app-arch/xz-utils) before installation Create and install initramfs for early microcode loading in /boot (only AMD for now) Install also non-free (but redistributable) firmware files Allows individual selection of firmware files -- cgit v1.2.3