sys-kernel/xanmod-kernel: add 6.6.26, 6.8.5
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
421446eb90
commit
06290cc3b7
@ -2,18 +2,24 @@ DIST genpatches-6.6-30.base.tar.xz 1698592 BLAKE2B 3e7343cfb06a081796dcc67e15c1b
|
|||||||
DIST genpatches-6.6-30.extras.tar.xz 3704 BLAKE2B 18c323ae1c680bc076d2b62ca5715057b2fe32db70ee582bf81c50dfe6c356acf3a5518de57d64aa046562908981c0b67cc96ee14d452093b25bbd619e206112 SHA512 01eb396bb8a6854b9c25339bc41d388743b8ebab46b2ead24e3ea87bc1de48d87e94f80df2b530569088fd431d7f700882321823dfa349a451211b689d1a71a5
|
DIST genpatches-6.6-30.extras.tar.xz 3704 BLAKE2B 18c323ae1c680bc076d2b62ca5715057b2fe32db70ee582bf81c50dfe6c356acf3a5518de57d64aa046562908981c0b67cc96ee14d452093b25bbd619e206112 SHA512 01eb396bb8a6854b9c25339bc41d388743b8ebab46b2ead24e3ea87bc1de48d87e94f80df2b530569088fd431d7f700882321823dfa349a451211b689d1a71a5
|
||||||
DIST genpatches-6.6-31.base.tar.xz 1700036 BLAKE2B 52497ce73dc1a0eaac0a73b7c9a8bcd02925afae9d3064e4709e17dd89184100177c6c1b8b6819448a89246cde6a6f29b82a51d906a362df0dd40b182992f872 SHA512 e4933aa19770d54e5524efc03e02be8a0c9b1eea62a53458584603e5add1d8123d279ba41cc8c33d65152a0a0649ae53ce0fd8a88b5582b39865f83b84a031e0
|
DIST genpatches-6.6-31.base.tar.xz 1700036 BLAKE2B 52497ce73dc1a0eaac0a73b7c9a8bcd02925afae9d3064e4709e17dd89184100177c6c1b8b6819448a89246cde6a6f29b82a51d906a362df0dd40b182992f872 SHA512 e4933aa19770d54e5524efc03e02be8a0c9b1eea62a53458584603e5add1d8123d279ba41cc8c33d65152a0a0649ae53ce0fd8a88b5582b39865f83b84a031e0
|
||||||
DIST genpatches-6.6-31.extras.tar.xz 3704 BLAKE2B 25bfb920528a71136639dcd536f1b8182ce687d5e8059c29539ed6ea348928cab361867afeb0eef55b040fa3860c44d7510ae9d453a805785567515a7157d009 SHA512 f7e7e6b2407752f2f868afef958e88dcdfd1788bb518f17eb60baaec43e55cc69b9185ae55c515b9bc617dc1aa7d1a958b8980ffafd95228aa3322ca104a8fa3
|
DIST genpatches-6.6-31.extras.tar.xz 3704 BLAKE2B 25bfb920528a71136639dcd536f1b8182ce687d5e8059c29539ed6ea348928cab361867afeb0eef55b040fa3860c44d7510ae9d453a805785567515a7157d009 SHA512 f7e7e6b2407752f2f868afef958e88dcdfd1788bb518f17eb60baaec43e55cc69b9185ae55c515b9bc617dc1aa7d1a958b8980ffafd95228aa3322ca104a8fa3
|
||||||
|
DIST genpatches-6.6-33.base.tar.xz 1799480 BLAKE2B c724ac510c4ffa2494a95268c2c97898f78c54a5ffb48f2fd6b74dc27dcf51d9403e60ff4e10d1f1c673a2d09ec6dd9a00683297631fcebe28d4f3497ff31e4b SHA512 dc253ace1b4d1da549e5039682f4e6987ad48da88c63a94968d3fc817b2a64faffbf3e7024417036df3f645346f02f913e81857b7b261a6b174fa4f9d18b1db1
|
||||||
|
DIST genpatches-6.6-33.extras.tar.xz 3704 BLAKE2B c337062a967a4261f48d3a571d4267ac9e0a259013eb9f5f40ed306712d83ac87108c7e60e7479e6e3fec9490c85e6d34bfc0a5c67fd30fe56970b858ef9ccd0 SHA512 fc857243332ef3b7c5e1698c0a4fea7860ddfc2a4f240e6f538b33bf4332d324d180745270fd0787e9d26fca575a72ec5bd0c0983d63304775278a4d51a168c1
|
||||||
DIST genpatches-6.7-16.base.tar.xz 1101836 BLAKE2B f85c1bdbb8fc2a33fd231a23cc2b4f55454aed62d44b42878aa071b27898ad68dfaa0c72fc6eec944a7c08bd8b6a0854107c30badbf355fc68fb46c30c1c8bd2 SHA512 31518e149408da3e604a1ab9d7591f9fc0042fe8162f8220cb124dff30ba7cae5150769596c494cd76667a6f5ef849c78f19c61d89e7363289f91e2651c4b688
|
DIST genpatches-6.7-16.base.tar.xz 1101836 BLAKE2B f85c1bdbb8fc2a33fd231a23cc2b4f55454aed62d44b42878aa071b27898ad68dfaa0c72fc6eec944a7c08bd8b6a0854107c30badbf355fc68fb46c30c1c8bd2 SHA512 31518e149408da3e604a1ab9d7591f9fc0042fe8162f8220cb124dff30ba7cae5150769596c494cd76667a6f5ef849c78f19c61d89e7363289f91e2651c4b688
|
||||||
DIST genpatches-6.7-16.extras.tar.xz 3704 BLAKE2B 659050195f491f15579b2261b6c2631de5d5e4b4d2088fca124511ccd71a9ac62da7ab1f4bf08846bb061c033ec087faa5f6a783334528c543d17d72cd8b340d SHA512 d867a7d95e388b384519b27910f521b4d6305cf2673136f543ddc0b2bcd066d4c726448c413aa358ce0ea3a2abb1639a2fe54d31c92cdb93bdaf76c2155b369f
|
DIST genpatches-6.7-16.extras.tar.xz 3704 BLAKE2B 659050195f491f15579b2261b6c2631de5d5e4b4d2088fca124511ccd71a9ac62da7ab1f4bf08846bb061c033ec087faa5f6a783334528c543d17d72cd8b340d SHA512 d867a7d95e388b384519b27910f521b4d6305cf2673136f543ddc0b2bcd066d4c726448c413aa358ce0ea3a2abb1639a2fe54d31c92cdb93bdaf76c2155b369f
|
||||||
DIST genpatches-6.8-4.base.tar.xz 388904 BLAKE2B 22339e2c3d8b06e98ccac88d877edeefbc5955af73ccc1bd0857ad22f33757cdcd7b851ebf0987b2927e0d6397149d034e39dd7a1f2e252355bed36ada7ea4aa SHA512 ab11669385ad58a45941db73bb01957fc7a0d4794768aeaf4ab78e078d25d3eeae4d508994e61fd7d4a6de791991c9f01ea226932f9d42047c38e2fc4a037a4a
|
DIST genpatches-6.8-4.base.tar.xz 388904 BLAKE2B 22339e2c3d8b06e98ccac88d877edeefbc5955af73ccc1bd0857ad22f33757cdcd7b851ebf0987b2927e0d6397149d034e39dd7a1f2e252355bed36ada7ea4aa SHA512 ab11669385ad58a45941db73bb01957fc7a0d4794768aeaf4ab78e078d25d3eeae4d508994e61fd7d4a6de791991c9f01ea226932f9d42047c38e2fc4a037a4a
|
||||||
DIST genpatches-6.8-4.extras.tar.xz 3704 BLAKE2B 2ac07079b69f3a778464b287924fbb758643fee48c6a02ba36cbd17d401f5761e6f5d4fb82083eb9153c8a1be22480f3b12dc0299b9d605a4d8abac49ae2c7ea SHA512 5ef9d85730999d5cd1a4acbb1b35f54b71012a919440ed763dc0254ad146b3656ab2d3487df39274b1e3042167500a260dc4c620965226c450395066d950af53
|
DIST genpatches-6.8-4.extras.tar.xz 3704 BLAKE2B 2ac07079b69f3a778464b287924fbb758643fee48c6a02ba36cbd17d401f5761e6f5d4fb82083eb9153c8a1be22480f3b12dc0299b9d605a4d8abac49ae2c7ea SHA512 5ef9d85730999d5cd1a4acbb1b35f54b71012a919440ed763dc0254ad146b3656ab2d3487df39274b1e3042167500a260dc4c620965226c450395066d950af53
|
||||||
DIST genpatches-6.8-6.base.tar.xz 390424 BLAKE2B 247749a8123e2df23e544a36cc2ccb2faa4c419aaee081220c0002f74fab2a0b4395fe6f491a571cf7c497986849391a0ee6adf25aaf0cd43e9d53956ff299e5 SHA512 4d8e757bed34af028e024e7c1456375f7f97d94661b51d392144af8907e4c2ab6ebd37a7f83b01f1df7ba40f7871400d829e3e443d473376b129cac5bdd73118
|
DIST genpatches-6.8-6.base.tar.xz 390424 BLAKE2B 247749a8123e2df23e544a36cc2ccb2faa4c419aaee081220c0002f74fab2a0b4395fe6f491a571cf7c497986849391a0ee6adf25aaf0cd43e9d53956ff299e5 SHA512 4d8e757bed34af028e024e7c1456375f7f97d94661b51d392144af8907e4c2ab6ebd37a7f83b01f1df7ba40f7871400d829e3e443d473376b129cac5bdd73118
|
||||||
DIST genpatches-6.8-6.extras.tar.xz 3704 BLAKE2B cf93bc6cb2aa440538d76a4a39869be17297e76d70dfdfa881abbbb0fd63e3862c264f96b834ff6c3bc53e46941d449a61becedb78921c12c49b032874ae0be8 SHA512 6139490d83515ccfd8e6f2ff1f4ee39d4a9488973f38e08699150032847b2bdecb75293d8588765733256fe5028890cc2cd38ef528bf327fe282c812aebb326a
|
DIST genpatches-6.8-6.extras.tar.xz 3704 BLAKE2B cf93bc6cb2aa440538d76a4a39869be17297e76d70dfdfa881abbbb0fd63e3862c264f96b834ff6c3bc53e46941d449a61becedb78921c12c49b032874ae0be8 SHA512 6139490d83515ccfd8e6f2ff1f4ee39d4a9488973f38e08699150032847b2bdecb75293d8588765733256fe5028890cc2cd38ef528bf327fe282c812aebb326a
|
||||||
|
DIST genpatches-6.8-8.base.tar.xz 491508 BLAKE2B 856cbc5f02af4b2c7073e2342a9d8131145fc0e9098557fbafc62cb5f24ce3009bb1ca9332fd1d43368bfca8963fd3f734de646faae1c3f95cf670e7768a6f37 SHA512 0af92f11d273bd5a13e0bc3effa2e6700b1404ae82a8bdcdf8be8279bacc5a45deb504c8df4281bf143698137fbf474337f91eeedfc681c019f4cc3313dd0da8
|
||||||
|
DIST genpatches-6.8-8.extras.tar.xz 3704 BLAKE2B 777b8ef344a84e3be85e65f8d0753ca7f2609e80ff80f9d460f9ba3c19f3fa19f975a199c2ea9b36901dcfd7cdeb8432653ff01db5da076336a8885fc4da982d SHA512 3fb1ed8a6b243a8c2f09aed66b5967df441e0ed4fc89dc9cb81b33561f8517f699787caf429bc173a1ee659912926a79d01603515c34fce43238525ef9cd8679
|
||||||
DIST gentoo-kernel-config-g11.tar.gz 5077 BLAKE2B dc17ded74f79baddd703a78084113b85e7130877b300b5fe60453cde515fe37c52ece7877049bb0ef384f74ecfc73d59d7d4a513f8fef7bf4f651599946383e8 SHA512 e91156765ef2a48396370f884fdecd7bb1d600e5167f6bad51130520f886e9198adae375adf3e40fa803abc5d5482057775fb0275ab2589bd8f94d8af4a03c4e
|
DIST gentoo-kernel-config-g11.tar.gz 5077 BLAKE2B dc17ded74f79baddd703a78084113b85e7130877b300b5fe60453cde515fe37c52ece7877049bb0ef384f74ecfc73d59d7d4a513f8fef7bf4f651599946383e8 SHA512 e91156765ef2a48396370f884fdecd7bb1d600e5167f6bad51130520f886e9198adae375adf3e40fa803abc5d5482057775fb0275ab2589bd8f94d8af4a03c4e
|
||||||
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
||||||
DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad
|
DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad
|
||||||
DIST linux-6.8.tar.xz 142502100 BLAKE2B c6f17f816cea16e629f63e9379b98888713f57b2c5173306926471f139a9d612a0c74e119341f8075390e55e203d787d9edeb4ad5a064b18870f6f0f7ffaafb2 SHA512 5c4eb4aa1d3f7d1ea01c0f7ddeadacdece6e144fd4bdfc16b2b925d3e10dc04de3a6db69320b79a96c3560052616f001d2c09e7a1bb4f7b731e2380a7ecce068
|
DIST linux-6.8.tar.xz 142502100 BLAKE2B c6f17f816cea16e629f63e9379b98888713f57b2c5173306926471f139a9d612a0c74e119341f8075390e55e203d787d9edeb4ad5a064b18870f6f0f7ffaafb2 SHA512 5c4eb4aa1d3f7d1ea01c0f7ddeadacdece6e144fd4bdfc16b2b925d3e10dc04de3a6db69320b79a96c3560052616f001d2c09e7a1bb4f7b731e2380a7ecce068
|
||||||
DIST patch-6.6.24-xanmod1.xz 1738140 BLAKE2B 7f6944940a993e330c0a6fd59c4cae20383868e4dc0e07e7b708335608d155f9a3a8b4d4f8659daf8fd8cf1dff0c96790354d03d1293a65c192ea295f77cb77e SHA512 b8f2d623e6add7e69825b65f1b501174cfa80c90101df56917b5a2365d0daca1e5986d319965cbd4ba6deac26de6f0aaaba7218b3bd9a5401e4ae4db43503ea5
|
DIST patch-6.6.24-xanmod1.xz 1738140 BLAKE2B 7f6944940a993e330c0a6fd59c4cae20383868e4dc0e07e7b708335608d155f9a3a8b4d4f8659daf8fd8cf1dff0c96790354d03d1293a65c192ea295f77cb77e SHA512 b8f2d623e6add7e69825b65f1b501174cfa80c90101df56917b5a2365d0daca1e5986d319965cbd4ba6deac26de6f0aaaba7218b3bd9a5401e4ae4db43503ea5
|
||||||
DIST patch-6.6.25-xanmod1.xz 1730112 BLAKE2B a4ed0f6d6e4745682cc0afcd9dbdc450c9372faffde9937151b63fbffbc3c4c569b4dff86f4b7836ab6907cde8da205a664fc14486b74018d08566170b22f01d SHA512 1af8cfdf84a77c22231ef4da276519a776ca6dfbc3265d1ba917e9dafa9c82144753c9fb9855dcfef953a5ee0477855243ded8999d63efef137e16aba31392e7
|
DIST patch-6.6.25-xanmod1.xz 1730112 BLAKE2B a4ed0f6d6e4745682cc0afcd9dbdc450c9372faffde9937151b63fbffbc3c4c569b4dff86f4b7836ab6907cde8da205a664fc14486b74018d08566170b22f01d SHA512 1af8cfdf84a77c22231ef4da276519a776ca6dfbc3265d1ba917e9dafa9c82144753c9fb9855dcfef953a5ee0477855243ded8999d63efef137e16aba31392e7
|
||||||
|
DIST patch-6.6.26-xanmod1.xz 1819056 BLAKE2B 0059e46b3449a70370cf37458a1b8142dd4b7572e0c489c7b4d9b3230b73d29541ee430ecdb3161b08d475948a520b7a8b2d72900cb1c395f4d10bb7c1960ced SHA512 577461f43a696c54280ef0bee26a5064ef052a6afa2637e631ec582a5b8eb413db103558767d53690f1ab6d58f579dbfe29e1ce44f825e0317fb622e682135ef
|
||||||
DIST patch-6.7.12-xanmod1.xz 1190564 BLAKE2B 26390fdd54f959e01eb76d3715801de642830ac08085585a93529eae5a75ed3c8a7a012bca2997b37f63718962bc9250f744a919fc9054a4b36441099a10b342 SHA512 99dbd12e6e92be3994a92f4799755ccafb180c181605b18c61f254c946c2b7e2a268807ae9a222f8b66913b8904ee02971f79e604a1916cdffad4b8c607e0370
|
DIST patch-6.7.12-xanmod1.xz 1190564 BLAKE2B 26390fdd54f959e01eb76d3715801de642830ac08085585a93529eae5a75ed3c8a7a012bca2997b37f63718962bc9250f744a919fc9054a4b36441099a10b342 SHA512 99dbd12e6e92be3994a92f4799755ccafb180c181605b18c61f254c946c2b7e2a268807ae9a222f8b66913b8904ee02971f79e604a1916cdffad4b8c607e0370
|
||||||
DIST patch-6.8.3-xanmod1.xz 521636 BLAKE2B 391bba87e3846abece6716bb870cb2fa536b0485dc9569deaf9a648605c302e557a0e9115b68c011e4c9c82cb7cf6a7223b99a5e1ea543d12bf28bfbee26f2fb SHA512 f0b336c5a8e5316a3121e93252c2e94428ab339eff81bf220a22a062285acf64bd45149b9096d2e112d5da9ed843dd642e7994e2e7163968b88ecba8796edb50
|
DIST patch-6.8.3-xanmod1.xz 521636 BLAKE2B 391bba87e3846abece6716bb870cb2fa536b0485dc9569deaf9a648605c302e557a0e9115b68c011e4c9c82cb7cf6a7223b99a5e1ea543d12bf28bfbee26f2fb SHA512 f0b336c5a8e5316a3121e93252c2e94428ab339eff81bf220a22a062285acf64bd45149b9096d2e112d5da9ed843dd642e7994e2e7163968b88ecba8796edb50
|
||||||
DIST patch-6.8.4-xanmod1.xz 513040 BLAKE2B e0a69f1b470febfeaacc61566095e6c26e07f935de0717224f7e06cb264c7fe28d2f0b5b9d2b691f616a9535c118d0915458c4a80ada3b707ce311312cd152bc SHA512 7025fef2062228f56080331eceec7f6330178a36c8eb3b325fd6eba9589f35ec4a4b486ef4212e8048ce4bfc2fbcdcf4b0f7b6716c419765559f11a7a6a9dcbe
|
DIST patch-6.8.4-xanmod1.xz 513040 BLAKE2B e0a69f1b470febfeaacc61566095e6c26e07f935de0717224f7e06cb264c7fe28d2f0b5b9d2b691f616a9535c118d0915458c4a80ada3b707ce311312cd152bc SHA512 7025fef2062228f56080331eceec7f6330178a36c8eb3b325fd6eba9589f35ec4a4b486ef4212e8048ce4bfc2fbcdcf4b0f7b6716c419765559f11a7a6a9dcbe
|
||||||
|
DIST patch-6.8.5-xanmod1.xz 609184 BLAKE2B 9d94a4b1189b44c11b10db4ce64830fb53031ba131f292095c7dd9da43aa5f0a3466af5d02f128a71d5fb6e214047c5a81e79edef8e6435d40cdced92c85161b SHA512 3db2217c28ac6e451bff45f8545cb2bac44596c4066faff2abcd514f519febb060f70187c6ce0b80e673f6e093161c2845862c09c3b439e126327cef1764e93b
|
||||||
|
84
sys-kernel/xanmod-kernel/xanmod-kernel-6.6.26.ebuild
Normal file
84
sys-kernel/xanmod-kernel/xanmod-kernel-6.6.26.ebuild
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
# Copyright 2022-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
KERNEL_IUSE_GENERIC_UKI=1
|
||||||
|
KERNEL_IUSE_MODULES_SIGN=1
|
||||||
|
|
||||||
|
inherit kernel-build
|
||||||
|
|
||||||
|
MY_P=linux-${PV%.*}
|
||||||
|
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 ))
|
||||||
|
GENTOO_CONFIG_VER=g11
|
||||||
|
|
||||||
|
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
|
||||||
|
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
|
||||||
|
SRC_URI="
|
||||||
|
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
||||||
|
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.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
|
||||||
|
https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
|
||||||
|
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="-* ~amd64"
|
||||||
|
IUSE="debug"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
!sys-kernel/xanmod-kernel-bin:${SLOT}
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
debug? ( dev-util/pahole )
|
||||||
|
"
|
||||||
|
PDEPEND="
|
||||||
|
>=virtual/dist-kernel-${PV}
|
||||||
|
"
|
||||||
|
|
||||||
|
QA_FLAGS_IGNORED="
|
||||||
|
usr/src/linux-.*/scripts/gcc-plugins/.*.so
|
||||||
|
usr/src/linux-.*/vmlinux
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Remove linux-stable patches (see 0000_README)
|
||||||
|
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
|
||||||
|
|
||||||
|
local PATCHES=(
|
||||||
|
# meh, genpatches have no directory
|
||||||
|
"${WORKDIR}"/patch-${PV}-xanmod1
|
||||||
|
"${WORKDIR}"/*.patch
|
||||||
|
)
|
||||||
|
default
|
||||||
|
|
||||||
|
# prepare the default config
|
||||||
|
case ${ARCH} in
|
||||||
|
amd64)
|
||||||
|
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
die "Unsupported arch ${ARCH}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
rm "${S}/localversion" || die
|
||||||
|
local myversion="-xanmod1-dist"
|
||||||
|
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
|
||||||
|
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
|
||||||
|
|
||||||
|
local merge_configs=(
|
||||||
|
"${T}"/version.config
|
||||||
|
"${dist_conf_path}"/base.config
|
||||||
|
)
|
||||||
|
use debug || merge_configs+=(
|
||||||
|
"${dist_conf_path}"/no-debug.config
|
||||||
|
"${FILESDIR}"/no-debug-extra.config
|
||||||
|
)
|
||||||
|
|
||||||
|
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||||
|
|
||||||
|
kernel-build_merge_configs "${merge_configs[@]}"
|
||||||
|
}
|
84
sys-kernel/xanmod-kernel/xanmod-kernel-6.8.5.ebuild
Normal file
84
sys-kernel/xanmod-kernel/xanmod-kernel-6.8.5.ebuild
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
# Copyright 2022-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
KERNEL_IUSE_GENERIC_UKI=1
|
||||||
|
KERNEL_IUSE_MODULES_SIGN=1
|
||||||
|
|
||||||
|
inherit kernel-build
|
||||||
|
|
||||||
|
MY_P=linux-${PV%.*}
|
||||||
|
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 ))
|
||||||
|
GENTOO_CONFIG_VER=g11
|
||||||
|
|
||||||
|
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
|
||||||
|
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
|
||||||
|
SRC_URI="
|
||||||
|
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
|
||||||
|
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.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
|
||||||
|
https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
|
||||||
|
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
KEYWORDS="-* ~amd64"
|
||||||
|
IUSE="debug"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
!sys-kernel/xanmod-kernel-bin:${SLOT}
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
debug? ( dev-util/pahole )
|
||||||
|
"
|
||||||
|
PDEPEND="
|
||||||
|
>=virtual/dist-kernel-${PV}
|
||||||
|
"
|
||||||
|
|
||||||
|
QA_FLAGS_IGNORED="
|
||||||
|
usr/src/linux-.*/scripts/gcc-plugins/.*.so
|
||||||
|
usr/src/linux-.*/vmlinux
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Remove linux-stable patches (see 0000_README)
|
||||||
|
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
|
||||||
|
|
||||||
|
local PATCHES=(
|
||||||
|
# meh, genpatches have no directory
|
||||||
|
"${WORKDIR}"/patch-${PV}-xanmod1
|
||||||
|
"${WORKDIR}"/*.patch
|
||||||
|
)
|
||||||
|
default
|
||||||
|
|
||||||
|
# prepare the default config
|
||||||
|
case ${ARCH} in
|
||||||
|
amd64)
|
||||||
|
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
die "Unsupported arch ${ARCH}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
rm "${S}/localversion" || die
|
||||||
|
local myversion="-xanmod1-dist"
|
||||||
|
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
|
||||||
|
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
|
||||||
|
|
||||||
|
local merge_configs=(
|
||||||
|
"${T}"/version.config
|
||||||
|
"${dist_conf_path}"/base.config
|
||||||
|
)
|
||||||
|
use debug || merge_configs+=(
|
||||||
|
"${dist_conf_path}"/no-debug.config
|
||||||
|
"${FILESDIR}"/no-debug-extra.config
|
||||||
|
)
|
||||||
|
|
||||||
|
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||||
|
|
||||||
|
kernel-build_merge_configs "${merge_configs[@]}"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user