From d725480af7cbc67d784e5d96f973fa41e9030123 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 19 Jan 2024 14:07:55 +0000 Subject: gentoo auto-resync : 19:01:2024 - 14:07:55 --- sys-kernel/Manifest.gz | Bin 4565 -> 4565 bytes sys-kernel/installkernel/Manifest | 4 +- sys-kernel/installkernel/installkernel-16.ebuild | 114 ---------------------- sys-kernel/installkernel/installkernel-17.ebuild | 114 ++++++++++++++++++++++ sys-kernel/linux-headers/Manifest | 3 + sys-kernel/linux-headers/linux-headers-6.7.ebuild | 50 ++++++++++ 6 files changed, 169 insertions(+), 116 deletions(-) delete mode 100644 sys-kernel/installkernel/installkernel-16.ebuild create mode 100644 sys-kernel/installkernel/installkernel-17.ebuild create mode 100644 sys-kernel/linux-headers/linux-headers-6.7.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz index b47f250e7ad0..3daf794d38cf 100644 Binary files a/sys-kernel/Manifest.gz and b/sys-kernel/Manifest.gz differ diff --git a/sys-kernel/installkernel/Manifest b/sys-kernel/installkernel/Manifest index f40a1645399f..4ef923a5dce5 100644 --- a/sys-kernel/installkernel/Manifest +++ b/sys-kernel/installkernel/Manifest @@ -1,7 +1,7 @@ DIST installkernel-12.tar.gz 4385 BLAKE2B 2f55442d76020cfcd42fb83f14ff1f517dcbbd102c338e84f092d56ba513c02644401b3b75ee7c45c8e763eb0e27225bbfe6576bc4e34841694076d935328c9a SHA512 b5620bf7a36081da929645d112a9160f89f1de09c00d3b6093efbe57d8ff1a5ebcd0b65e68491d225f61b7732bce8f76ff8baecd24969715f40dc818e4302de2 DIST installkernel-15.tar.gz 5485 BLAKE2B c80aaf96c74eed23f13f2825839daeb9d44d1f721b35270ed4dd587858a9b43edaa958965a97b6381f58c24d137094c4b80f880b4e114dff621bdc6dc51f47d6 SHA512 352478323d76ec9b74e4ff1a42555a65292e9a262907dc3dfe08ee0c8613fa1d9618d2f3c1de9ab02551be67fc107d8c0212e462e46b6d6ce065c2f1628067f0 -DIST installkernel-16.tar.gz 6773 BLAKE2B c54682159d60b7de7283ad6dda209155b7a6338f524164d8a6aee13e12d724678a027a57dd27a7023e78ed1ed263aa0ced60e5349afb3b319339b4396805c655 SHA512 f751ecd164ba955c89660ca46b632325bb8cf2364204629ca87c9d89a08a55d1f8b920261d5ea5a2ef93a25d206ad097f98812a2c6a89060ccd6d127a8ec1515 +DIST installkernel-17.tar.gz 7109 BLAKE2B 1b9ac1528262a842d306b5061207316d088b78702a2045d5f49de08d9111ecf6306ac6c45262ae0eca3565aba4f20098b3678090510af808192cb310b53af216 SHA512 f80c3d9141e3c6a41e55204eff7df8d8e2c42e6cca0e86db6d0036da1d2a23b4b69add8cb3abb8577459f7b46211d65a5cf4d7f9349f4a3a85d4f6e0a1215f03 EBUILD installkernel-12.ebuild 1444 BLAKE2B 7ef1f8e8205cf742b2304e8232f7f017245a21ab5ff6723b677e4dd810dfd46977632b0c0e3cb5ce66523206cec4cfd539829bbe467838e4b65f6fb51a56d2ec SHA512 a7d72bd6ebb3b42d3348253756caaf169d0dce9c92403c3ccec5486f470d60e5d681299bfa3d9f41c6bab2dca35d958adf9663562c3e30282a66e78dfd39f53e EBUILD installkernel-15-r1.ebuild 3207 BLAKE2B e3ffde53184ba1ebf0e59f3ac09d86da2365a405acbfc2388bc67f724a23cd997a2cd5ecedf0e832d7e3b4908ed2d57dc530a8e90c4df71638939336e77e4219 SHA512 fcc15f3a463887d9a9ce87a418477a16f313e6d9bd526157c708d3db922113ea43a63a57a98ccab09919c082b2440ad44cad1e4ffeb3cf1fceaa28f94984c074 -EBUILD installkernel-16.ebuild 3399 BLAKE2B 292b07398a0fd145beb35113d0b7d32e77c7906ded4d62dab96570e877c590e4fe85417acb88bcba8a97915c2723db42d645040eaa73a5f8156d1799f41daca4 SHA512 b26246a472eb24f25d96912b0cd559f33a909758a205fcb088938968e68366746390eb4e702852d6d0e731784e356710b371ba63db0a74838d86b3d9b6043f1e +EBUILD installkernel-17.ebuild 3399 BLAKE2B 292b07398a0fd145beb35113d0b7d32e77c7906ded4d62dab96570e877c590e4fe85417acb88bcba8a97915c2723db42d645040eaa73a5f8156d1799f41daca4 SHA512 b26246a472eb24f25d96912b0cd559f33a909758a205fcb088938968e68366746390eb4e702852d6d0e731784e356710b371ba63db0a74838d86b3d9b6043f1e MISC metadata.xml 962 BLAKE2B 1ba1170a97f339b8beaed27b0ace44bba35d5f00724492f5d10a5ff0974836af2c32a3763046f149f42626961a37655d5ebfae535302ba6d39527c99db028b7b SHA512 4f78a5e5698b7e86778c808777c429574580c44fddd6206d42785a1ae6ee217e0f69acfb7ac7489f3ee185c0158ea9eae1518bf2e186e2ccd4dce4f1abc4a56a diff --git a/sys-kernel/installkernel/installkernel-16.ebuild b/sys-kernel/installkernel/installkernel-16.ebuild deleted file mode 100644 index 0f0f4cb9259d..000000000000 --- a/sys-kernel/installkernel/installkernel-16.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 2019-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Gentoo fork of installkernel script from debianutils" -HOMEPAGE="https://github.com/projg2/installkernel-gentoo" -SRC_URI="https://github.com/projg2/installkernel-gentoo/archive/v${PV}.tar.gz - -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-gentoo-${PV}" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" -IUSE="+dracut grub module-rebuild systemd uki ukify" - -RDEPEND=" - !<=sys-kernel/installkernel-systemd-3 - >=sys-apps/debianutils-4.9-r1 - dracut? ( >=sys-kernel/dracut-060_pre20240104 ) - grub? ( sys-boot/grub ) - systemd? ( - || ( - sys-apps/systemd[kernel-install(-)] - sys-apps/systemd-utils[kernel-install(-)] - ) - ) - ukify? ( - || ( - sys-apps/systemd[ukify(-)] - sys-apps/systemd-utils[ukify(-)] - ) - ) - !=sys-apps/systemd-255.2-r1 - !=sys-apps/systemd-255.2-r0 - !~sys-apps/systemd-255.1 - !~sys-apps/systemd-255.0 - !=sys-apps/systemd-254.8-r0 - !=sys-apps/systemd-254.7-r0 - !~sys-apps/systemd-254.6 - !<=sys-apps/systemd-254.5-r1 -" # Block against systemd that still installs dummy install.conf - -src_install() { - keepdir /etc/kernel/postinst.d - keepdir /etc/kernel/preinst.d - - exeinto /etc/kernel/preinst.d - use module-rebuild && doexe hooks/30-emerge-kernel-module-rebuild.install - use dracut && doexe hooks/50-dracut.install - use ukify && doexe hooks/60-ukify.install - - exeinto /etc/kernel/postinst.d - use uki && doexe hooks/90-uki-copy.install - use grub && doexe hooks/91-grub-mkconfig.install - - exeinto /usr/lib/kernel/install.d - doexe hooks/systemd/00-00machineid-directory.install - doexe hooks/systemd/10-copy-prebuilt.install - use module-rebuild && doexe hooks/systemd/30-emerge-kernel-module-rebuild.install - use grub && doexe hooks/systemd/91-grub-mkconfig.install - - if use systemd; then - sed -e 's/${SYSTEMD_KERNEL_INSTALL:=0}/${SYSTEMD_KERNEL_INSTALL:=1}/g' -i installkernel || - die "enabling systemd's kernel-install failed" - fi - - # set some default config using the flags we have anyway - touch "${T}/install.conf" || die - echo "# This file is managed by ${CATEGORY}/${PN}" >> "${T}/install.conf" || die - if use uki; then - echo "layout=uki" >> "${T}/install.conf" || die - elif use grub; then - echo "layout=grub" >> "${T}/install.conf" || die - else - echo "layout=bls" >> "${T}/install.conf" || die - fi - - if use dracut; then - echo "initrd_generator=dracut" >> "${T}/install.conf" || die - if ! use ukify; then - echo "uki_generator=dracut" >> "${T}/install.conf" || die - fi - else - echo "initrd_generator=none" >> "${T}/install.conf" || die - fi - - if use ukify; then - echo "uki_generator=ukify" >> "${T}/install.conf" || die - else - if ! use dracut; then - echo "uki_generator=none" >> "${T}/install.conf" || die - fi - fi - - insinto /usr/lib/kernel - doins "${T}/install.conf" - - into / - dosbin installkernel - doman installkernel.8 -} - -pkg_postinst() { - elog "Version 14 and up of ${PN} effectively merges" - elog "${PN}-gentoo and ${PN}-systemd." - elog "Switching between the traditional installkernel and systemd's" - elog "kernel-install is controlled with the systemd USE flag or the" - elog "SYSTEMD_KERNEL_INSTALL environment variable." - elog - elog "See the installkernel wiki page[1] for more details." - elog - elog "[1]: https://wiki.gentoo.org/wiki/Installkernel" -} diff --git a/sys-kernel/installkernel/installkernel-17.ebuild b/sys-kernel/installkernel/installkernel-17.ebuild new file mode 100644 index 000000000000..0f0f4cb9259d --- /dev/null +++ b/sys-kernel/installkernel/installkernel-17.ebuild @@ -0,0 +1,114 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Gentoo fork of installkernel script from debianutils" +HOMEPAGE="https://github.com/projg2/installkernel-gentoo" +SRC_URI="https://github.com/projg2/installkernel-gentoo/archive/v${PV}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-gentoo-${PV}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux" +IUSE="+dracut grub module-rebuild systemd uki ukify" + +RDEPEND=" + !<=sys-kernel/installkernel-systemd-3 + >=sys-apps/debianutils-4.9-r1 + dracut? ( >=sys-kernel/dracut-060_pre20240104 ) + grub? ( sys-boot/grub ) + systemd? ( + || ( + sys-apps/systemd[kernel-install(-)] + sys-apps/systemd-utils[kernel-install(-)] + ) + ) + ukify? ( + || ( + sys-apps/systemd[ukify(-)] + sys-apps/systemd-utils[ukify(-)] + ) + ) + !=sys-apps/systemd-255.2-r1 + !=sys-apps/systemd-255.2-r0 + !~sys-apps/systemd-255.1 + !~sys-apps/systemd-255.0 + !=sys-apps/systemd-254.8-r0 + !=sys-apps/systemd-254.7-r0 + !~sys-apps/systemd-254.6 + !<=sys-apps/systemd-254.5-r1 +" # Block against systemd that still installs dummy install.conf + +src_install() { + keepdir /etc/kernel/postinst.d + keepdir /etc/kernel/preinst.d + + exeinto /etc/kernel/preinst.d + use module-rebuild && doexe hooks/30-emerge-kernel-module-rebuild.install + use dracut && doexe hooks/50-dracut.install + use ukify && doexe hooks/60-ukify.install + + exeinto /etc/kernel/postinst.d + use uki && doexe hooks/90-uki-copy.install + use grub && doexe hooks/91-grub-mkconfig.install + + exeinto /usr/lib/kernel/install.d + doexe hooks/systemd/00-00machineid-directory.install + doexe hooks/systemd/10-copy-prebuilt.install + use module-rebuild && doexe hooks/systemd/30-emerge-kernel-module-rebuild.install + use grub && doexe hooks/systemd/91-grub-mkconfig.install + + if use systemd; then + sed -e 's/${SYSTEMD_KERNEL_INSTALL:=0}/${SYSTEMD_KERNEL_INSTALL:=1}/g' -i installkernel || + die "enabling systemd's kernel-install failed" + fi + + # set some default config using the flags we have anyway + touch "${T}/install.conf" || die + echo "# This file is managed by ${CATEGORY}/${PN}" >> "${T}/install.conf" || die + if use uki; then + echo "layout=uki" >> "${T}/install.conf" || die + elif use grub; then + echo "layout=grub" >> "${T}/install.conf" || die + else + echo "layout=bls" >> "${T}/install.conf" || die + fi + + if use dracut; then + echo "initrd_generator=dracut" >> "${T}/install.conf" || die + if ! use ukify; then + echo "uki_generator=dracut" >> "${T}/install.conf" || die + fi + else + echo "initrd_generator=none" >> "${T}/install.conf" || die + fi + + if use ukify; then + echo "uki_generator=ukify" >> "${T}/install.conf" || die + else + if ! use dracut; then + echo "uki_generator=none" >> "${T}/install.conf" || die + fi + fi + + insinto /usr/lib/kernel + doins "${T}/install.conf" + + into / + dosbin installkernel + doman installkernel.8 +} + +pkg_postinst() { + elog "Version 14 and up of ${PN} effectively merges" + elog "${PN}-gentoo and ${PN}-systemd." + elog "Switching between the traditional installkernel and systemd's" + elog "kernel-install is controlled with the systemd USE flag or the" + elog "SYSTEMD_KERNEL_INSTALL environment variable." + elog + elog "See the installkernel wiki page[1] for more details." + elog + elog "[1]: https://wiki.gentoo.org/wiki/Installkernel" +} diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest index 9f36b28df132..f0c42498e048 100644 --- a/sys-kernel/linux-headers/Manifest +++ b/sys-kernel/linux-headers/Manifest @@ -10,6 +10,7 @@ DIST gentoo-headers-5.15-1.tar.xz 1496 BLAKE2B 9d88ecc517e226580ba43cba1b5cc6223 DIST gentoo-headers-5.4-2.tar.xz 11352 BLAKE2B 0ff989dbfff9070c291efe1a8b925462770e71d0c3faeb2e53581dcce02abe45969ec293a7293b6d843f483927b15f4accc1f24ee4966483164e8f72727cfad8 SHA512 b460e4d00bdd9ec2ecf229f3b2dde7c6468f775399ba6a49fa0533c0688628c7b27d83835c21eab07407fd98c220043cd1b20e37cc4decbd08a3f2fd9cf6c2be DIST gentoo-headers-6.1-0.tar.xz 1172 BLAKE2B 6929760733cd4a89228554b57b1027ccf887b6c7e56b45f71db9926e9328e2f0cf28b2f386eaaaef461cb2e05e4b1c088ffafea308f25254409f56c381bea2ca SHA512 14c3629a3c3aded37655ed277d718ed8398a08e231682f88037f1feb0c0727ef298f5e17626372fe890606930c027a3a59d8266bac746960651a90443beab5c5 DIST gentoo-headers-6.6-1.tar.xz 1172 BLAKE2B 626bb33b42f48bceca2ba6a0a9c0b043a8607bb391d3b541e98d2af42eacfabeda3a5a3d48b7bee1fd0a2a8ad0b6173bde49d3827ea087e501eb0e91d18c4ab7 SHA512 09bcda97d9d17ee3f66ee46d9c00b8ac4fba5b9662fa24e4e2754bd9e4e7b3f097e5f2d52281eeb7a671dfe303aabe15c8fd66f117fddf29fb094e28d8c603b3 +DIST gentoo-headers-6.7-1.tar.xz 1164 BLAKE2B 081a5bd0e756c4ca9da4e091c1436e2145bc2bbed8c9ce3e632ded7d66daa109f6daad86e38f2209a8e124397622991a709804e94566f03603cea2f6212445a1 SHA512 f3d1d2f7b3929b6084278dc600262fb7972fddcd0f90e7786d7141e5ea6c44f1890e2981f3bdf50125a028c8377379f52b900256f169b37a089fcc5d2fa529d8 DIST gentoo-headers-base-3.18.tar.xz 3776668 BLAKE2B 837a675ecf05ec270549d0ba6b9dcb98fb0e40f22007ebfa3e430152b7149dcfa29c8bbe38c737add07f75642234f1633c1d5ae0170788e8d4f765faf00bbdbe SHA512 6615c604e5e618d26fff5a61691f7827bb05be9790db6c9f8e16e3842bce8f056f9928f85ae5714710b75743b0d0804faba4ba9c76e934e1de22dc03ef6d5535 DIST gentoo-headers-base-4.14.tar.xz 8017944 BLAKE2B e967a3f26fa002f62af72c165cf960e855f5d84dd105b3f136e5ae24f4cdfc9e5f8b217a83955b325ca4bd6bda0a9d4c4de02d8d79fd4aa72191bc63db96183a SHA512 2a4e83a9ee36ffa85b59ebac1e12f4f1c572825b767928a42c4748d924d04f0536bab4d9375ca68c11ad867c226f386c40c7c4d0158d1ab00c838eb5b2f9f21a DIST gentoo-headers-base-4.19.tar.xz 7956220 BLAKE2B 5b6868188b6cb505556b8f307972be6b27c0201e8287f6a2c4d0ac8bf16cfe048cb05afacf879731ba81de5e2a8c5afc4adad007e00b12efb8b2a158a666f4dd SHA512 ef0f159cb31651bf8e00c31d8ac807e64413c7bf88807e1ab4779524db10eec4726b65af0fad034a0cb2e000cd61a6008bcc174828061ffaf633c170dd09645c @@ -20,6 +21,7 @@ DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7 DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68 DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 +DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad EBUILD linux-headers-3.18-r1.ebuild 1363 BLAKE2B 4a0c5ff3c52a22cb7f4c23945887de8acc3e5ed6176e6a899d86cf795a09403152241df75834cf7a3085782052e7f0f785b6831751bbef51aaf3105ca82bbb5c SHA512 5ad47c9ad8776ccabefab9011176a7b6a2d12264a44159d653baa57b57d19f1a02cceb6e537ba055519d1578965229e5a680176b69530003e2cac18fa417581e EBUILD linux-headers-4.14-r2.ebuild 1283 BLAKE2B 2f0282f1078199c2e451ec8f2b4fb08e4e00e4b19cabd72d8abc6d8cbeb905cab9d84cac2436fda97f7a5bf476038ea1c85204bf4cc88634e98c18669611288b SHA512 c3b91a9c96f6af0ecb53e31da5224f61a5350dc8887679f632d9eb28788ab1f0221391950b92142734b0234a5a9d7070ff3cad78cf12fbeb5b08583144bda07e EBUILD linux-headers-4.19-r1.ebuild 1440 BLAKE2B 2fd246a850a1d1ccad8d1599bb10f6fb40492332eee2f8dacf172d834c94f7ff992d7b29d3f2510d19856249346bda102b9ae01ca3e0786d177943129ef5ca62 SHA512 7b4b276f4653d6c60b6aa1d55efc07fa7d9625b29dc4449cbaa7bcd7a583b0b26a8f84906977c870a76d4b00765a5870572f4e0be2804dbcec62d8949f026a72 @@ -30,4 +32,5 @@ EBUILD linux-headers-5.15-r3.ebuild 1454 BLAKE2B 6fde074d12041aeed87168073b95164 EBUILD linux-headers-5.4-r2.ebuild 1254 BLAKE2B 4b8545aff89fbce63ac91030a81aa416664969e1475ab33e40e2612adaaac4918231b12178176dff833e9b8292575d1a9b17d32041d8362a3fd99671e5bedf8b SHA512 ba73a588dfde65af652ad9f8fe39ad4a59cdd285f0afaa7a6c038d1bb351770028864de5c304441fca9db3ebf1f1b2f0b2d57e4c8f2aba1c2ab9466c8e099176 EBUILD linux-headers-6.1.ebuild 1343 BLAKE2B 67d780d1d56be035accb9b130bb885a25efcf6ee0055d078fa7ebec84ee5b4a7c690d051994917dc88404a124096b861bc62105e654a4413aa3e52e34e22ff2b SHA512 71258e013303406a3cc3d0414d11366bfae7774bb70a0e7761c18de882db93505b34ef1aa6de93201b5b3ba4e6e9e64c7041b1b535baec0d937f993c3f57d6fd EBUILD linux-headers-6.6.ebuild 1288 BLAKE2B d317a66c51c95a61f0602ddc0a1ff94e8e2965bf49720dedac3c9971a66f7c7f2d63af7bb2cf53f4cb6144826dfbaf96129b63e030417c13b6fe5cc8328926d2 SHA512 df013c144ef0c282f76d5bb426f0a81f786781f03c0c6063156ede777bd8cceee4cfc3d500744e14c4761f966cba75d83a4a6bb183375f1b9bbd169f3b7f69bc +EBUILD linux-headers-6.7.ebuild 1283 BLAKE2B 3620bef181321f1f9c58fbba1278f5353c83386e07f53b7fcacf4542cceb69c1bd51c3ee3010c31b275f5e9926cb4253c03162f4e9c6d9f2cc1b35aa9b37012d SHA512 e3f85804dfef0f913034859437a066c3fb194a43e52258242c662e96feb26ac1e714b310667c858089139c7c4fbdc9cdafa176cf1bc0c01ea1ffa19f14681448 MISC metadata.xml 345 BLAKE2B a7d97a94b8b2b72cbd9c7cc730bd66c6e174a2c0bb8bfcff7c279a87000a4435afbb048ca2d9424b391a0b0f992d0afd5efb20c0504062de3dfd49968fec0e74 SHA512 e7a62638f5ba1072ae773781c890f708d90001c4d517e2ecce8fbb791914f2e6769e5a0db63ade82f7d644c1ec3e9b19aae773c496d9059879a4192b7f26ccae diff --git a/sys-kernel/linux-headers/linux-headers-6.7.ebuild b/sys-kernel/linux-headers/linux-headers-6.7.ebuild new file mode 100644 index 000000000000..e16c15ac5901 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-6.7.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 csky hexagon hppa loong m68k microblaze mips nios2 openrisc ppc ppc64 riscv s390 sh sparc x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_PV=${PV} # to ease testing new versions against not existing patches +PATCH_VER="1" +PATCH_DEV="sam" +SRC_URI=" + ${KERNEL_URI} + ${PATCH_VER:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/sys-kernel/linux-headers/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz} +" +S="${WORKDIR}/linux-${PV}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa -ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + app-arch/xz-utils + dev-lang/perl +" + +[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PATCH_PV} ) + +src_unpack() { + # Avoid kernel-2_src_unpack + default +} + +src_prepare() { + # TODO: May need forward porting to newer versions + use elibc_musl && PATCHES+=( + "${FILESDIR}"/${PN}-5.15-remove-inclusion-sysinfo.h.patch + ) + + # Avoid kernel-2_src_prepare + default +} + +src_install() { + kernel-2_src_install + + find "${ED}" \( -name '.install' -o -name '*.cmd' \) -delete || die + # Delete empty directories + find "${ED}" -empty -type d -delete || die +} -- cgit v1.2.3