Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/vanilla-kernel/
Date: Thu, 27 Aug 2020 07:00:33
Message-Id: 1598511624.40e5f78dd7f65f0bd6251ceaef89ef6d70172293.mgorny@gentoo
1 commit: 40e5f78dd7f65f0bd6251ceaef89ef6d70172293
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 27 06:39:38 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 27 07:00:24 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e5f78d
7
8 sys-kernel/vanilla-kernel: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-kernel/vanilla-kernel/Manifest | 16 -----
13 .../vanilla-kernel/vanilla-kernel-5.4.40.ebuild | 65 -----------------
14 .../vanilla-kernel/vanilla-kernel-5.4.52.ebuild | 76 --------------------
15 .../vanilla-kernel/vanilla-kernel-5.4.53.ebuild | 76 --------------------
16 .../vanilla-kernel/vanilla-kernel-5.4.55.ebuild | 76 --------------------
17 .../vanilla-kernel/vanilla-kernel-5.4.56.ebuild | 76 --------------------
18 .../vanilla-kernel/vanilla-kernel-5.4.58.ebuild | 83 ----------------------
19 .../vanilla-kernel/vanilla-kernel-5.4.59.ebuild | 83 ----------------------
20 .../vanilla-kernel/vanilla-kernel-5.7.10.ebuild | 77 --------------------
21 .../vanilla-kernel/vanilla-kernel-5.7.12.ebuild | 77 --------------------
22 .../vanilla-kernel/vanilla-kernel-5.7.13.ebuild | 77 --------------------
23 .../vanilla-kernel/vanilla-kernel-5.7.15.ebuild | 83 ----------------------
24 .../vanilla-kernel/vanilla-kernel-5.7.16.ebuild | 83 ----------------------
25 .../vanilla-kernel/vanilla-kernel-5.8.1.ebuild | 83 ----------------------
26 .../vanilla-kernel/vanilla-kernel-5.8.2.ebuild | 83 ----------------------
27 15 files changed, 1114 deletions(-)
28
29 diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
30 index ea2fc9042e7..aec239d62f5 100644
31 --- a/sys-kernel/vanilla-kernel/Manifest
32 +++ b/sys-kernel/vanilla-kernel/Manifest
33 @@ -7,24 +7,8 @@ DIST kernel-i686.config.5.4.21 183910 BLAKE2B 185126ffb85718bb73761d01683def80b6
34 DIST kernel-x86_64-fedora.config.5.7.8 192882 BLAKE2B 23044bd3625d1ced686950c1322e91dd99eddb3128ab830c8862f5c949b66df67bc9ce38b810f4d54a35f9b9f11feb58d01450593ec513e132d789e3a50ac48b SHA512 b7770da1f608e8f0ec227dbeaf66491815e9fc4f8f08f01d2ad5877dd1946e73b315e8834f35cb5fc035fc3ac52ede8365107515d54b0792f326ad937d901625
35 DIST kernel-x86_64-fedora.config.5.8.1 200074 BLAKE2B 05673cc7c5ae861faff6e823b8fadb9ce2f00864cc955d78733945abe6fa5842b5b74d0e41129cea92607bd907598b39127740dabd377cb25a2fbbcd54eae8b6 SHA512 c601c380163c66c9e351508dbc7ad3f10214eb04895257f721c808e8fa685770b9c898f48b3b05a5f76832fbf8c91e63278539dd9ef3e2c571997c844ecc7c8b
36 DIST kernel-x86_64.config.5.4.21 184907 BLAKE2B 0eb2b07c14cea7545350fcdf3a94f2a531f0137c502ebda9299cacf44da5385686e2049b480b28bc153c9d413d453cfe682b9655eefe70428cb720f57c7bd200 SHA512 f3b3ee6841555ac3a9cc11536a7d44e1a5a8df2bab14ba341fda7df1ceb0de45cf1c799a1d54a64f2858fd1272d348bb52cf269ffa396878c5402baf2730237f
37 -DIST linux-5.4.15-arch1.amd64.config 241498 BLAKE2B 2ba5eab2455c909878c36c6084718331042d0f6ab42127868ffb1522f4b53de38879e5707328968e943d1fa44cc504626af52b733829e943532931b49a612834 SHA512 582577bfe4139a8f50c5881cd5a9f24dc3da3124e464756f9efc3d39894eac378483d052e1142730585e40a45641166d309b5e1b5e379f4a5ea2d5ebb2d3314b
38 -DIST linux-5.4.15-arch1.i686.config 241195 BLAKE2B d3332b83a3d57c450bb1d5e85d83c71f3be730a15775b7e1d89cec2d72d28f1921987c63d95fe7bea6778efe0012ece6186449f07f6aca35ccf86805186c0f4c SHA512 187d88bdde7325d46b4bfee8d59ace88ab7dc377606b411e1249f9deee2b571ec42bac52c29d26d67bfadece2e77aad6d5e0255a95a84c200757cb05c69160a1
39 -DIST linux-5.4.40.tar.xz 109535980 BLAKE2B 4857f032d5333f3c16f0947f51d6fe632527cfd78e6c556b62f5356848ef3280244eef7ffaaa136589b10e151aad3087593f3518fd0fc6958d4647b786401169 SHA512 c8785d30f7b88f3a6e565789974ecf1a055900ab4b66e358070547506aecab57b5d34afb77140cb2aeb803498c407d34f7fc11c29fbba00f6d4dedea8dd8788a
40 -DIST linux-5.4.52.tar.xz 109563772 BLAKE2B 32995d32bfc9ee5d6a5669941897890fc765765f8a141740486f4ad6000fcdd4e4c7f3e9c8fdc7357fba70947cce99d493e8657321c0c836c4930075eacec7eb SHA512 ed0eac6cc07f9e3bc455c82f1594fb0a5310430d3abc3cc2058e1c75af7608aa1b6f70790573873d7e9e4fafdd17cd0bdd5624c6eed5d51dd1da12a873d78a8e
41 -DIST linux-5.4.53.tar.xz 109574076 BLAKE2B 3e15c19449149415e560cf2b602fec20d60d2b35187283edb4421e4909c3fc8d9c734eba60e7fcca6f3694feb95246cb7295b57e96773fc8d69b8a5ef14e55be SHA512 bf0c0164969ffe52792c15d24f630cb33cee60801252fb6e45b751f5cf6cf807dc8c97c77caff6fdc53d754b87715f27779978f0f5ecfb83836f9a8342f21615
42 -DIST linux-5.4.55.tar.xz 109570356 BLAKE2B 87ae06ef810727428acd8d7b823309c71b36d6cbf4614e3230d632aecc74bfc45cc7b363a77062f26073dae3d5199200908e21a64e276bfaa66e71648a3c91fe SHA512 6ce15984395698b28932ab1d66165e491588fd924e4880e4dca2c5665b636fb271b8028dd23354b81640ce7e12989807a71360144cb87708b7f239e021b2b56c
43 -DIST linux-5.4.56.tar.xz 109571188 BLAKE2B fc5ae5a5e45f8e2582f267b0c0bceaa0e82b2cf4ce3f6823cda7968ba6984b98fed0e70232e7ad0d90b200e1b1c916d40102be62e54ecb99a15e378d1400d2dc SHA512 317bd383bc396b3867aa7ff804c20d72e27dcbbb78d02dc488528e9a25f3aaaa7a91ad1098b5a0e66d9b3290a42758c1d0631518122593aa521450977d6c62c1
44 -DIST linux-5.4.58.tar.xz 109570484 BLAKE2B 868296844be43f256583b84f32ca44fc3263954bf6830c9bb601c1b70f413ac52f26b82925f0a73a4cd7e6b2070ac20cd097a836603feca18aaa0bb26e8242a6 SHA512 535230c1bd718829efcc78a5f06ba803e182565838ade3628591b5fe2c5ea592ba3245583e6fecc58aef781bbab7069e632e900f0b33474442524d8472acd27b
45 -DIST linux-5.4.59.tar.xz 109572660 BLAKE2B b12e469150c0e09e090d60e31dfb25d83e3c2d9a0e777f49c3eac57e724bef3076cc57f64c1be6462e1c3db70a9d24d49fd19dc8f9c5f89541c868bc45715a4a SHA512 e09805b83a7f632882b3c4a7900ddb5ed78b8ad51b111387fe9428f404c09a6d01216ff93ac7d96b107a32a07ce675f21757921286ea221d4561745c743bd51d
46 DIST linux-5.4.60.tar.xz 109583396 BLAKE2B 1f6296eb9be00329b1eb015eafb4a965c575ded58b8618cfc0af3d15072c424afbbc029fad4d65e0af3bccc5963c4304c14b4a9d4763cfaec9b4596834a0f9b0 SHA512 fb9ebada932c17d0adbc099a1df31a7d97afe3be694665b1f8171e7159bda84a36a435ceecfdce6d492d8e5075ed4253c68029dcdf952e75a3fe7ee36646327b
47 -DIST linux-5.7.10.tar.xz 112722840 BLAKE2B 5b76a6b99ea0b1e38278db62951147edd2f0dcbc7c28d6fbf955beaa25344c62ee5b4d8c1c80e9e980a44d77b31dfc152b7e1d0fe0e57f5968f25b0d8a6d2dca SHA512 9568f87d593ae56dee4c7b8594f495a9c971558a3c73de8bb27336877bd5e71500ec08d880c5854e52ce338775bb9c30a98c1b9cdb789dbedba95bd3d86362ca
48 -DIST linux-5.7.12.tar.xz 112734632 BLAKE2B fb8f51e370f420a6f18329945addb05df3c264d06bcd7f03b6a9582ab2a13f843cd3ce99f6ce39546f882775ef473f335185ea54f38aab03e8956ae946f1e28f SHA512 8630936f2ea67fa4eaeea759f91dd71e35c294947ae6f71953ac3d99e5f93971f8c2b9e0eb18b09a35a3993e7ef648ca17160600aa07ea24f3beed44f3ed5a75
49 -DIST linux-5.7.13.tar.xz 112731816 BLAKE2B 8999dcaa23bf6c07e456b8fcb4b8d07a621737e72eb4f69db02b07bde0a3e73131019751d1c257434ef7380c583a914f5b81d802b82103800f6b44bde0ba4439 SHA512 60af6a81e86f7502b3ab94366107f638ac0656c4cc000d4393ab1b55dae1742cbde161b462a5de504285cd0baad22164dcac52cf38b8a0d98bfd5c638979fd71
50 -DIST linux-5.7.15.tar.xz 112731908 BLAKE2B d62cb30a94b62f8ef63d20aed5ad734343bda97bcfda72ea6e054622e0beaade87dcd78dee0f6288bbe4babc3e9956f926e89ba0e9c2b64b020d454daab60dc7 SHA512 f66219a6bb75538793005c5c23973ce05feb0acbde10fb87056e780dee4440db84bda4021a104bf9ffa2a86668f553a34be4803273fe5b63881c98c3528de1cb
51 -DIST linux-5.7.16.tar.xz 112732080 BLAKE2B 578e4e65bd4f96e8a1ab462fd7b6ca5450d7cc51fe24bb9df1d664188a61d755f91185674f9b503051ff771336d2fc75f37f04d0ea93a5f6738556802097f6d9 SHA512 2a923d09f07e637f1196a360ef71c5e4c032c65826ad209344efd4ceeaa4678b72bb98f6f4e49ce0a98f905f99d545eda6551d8b4c56d5f56dcee703b93fbd1e
52 DIST linux-5.7.17.tar.xz 112744000 BLAKE2B ef73f9c940d678465d1ff2c4eb880b6878827f563942666aab0fb49be9c24d6a12a78a2c569c9cb35023c82a195945b392ca00a933726701c0cff092f71141b6 SHA512 e4618e3d28882b81699892eb04b266a3e0b508806d02bd9671c84027a5a343535561b7094755ab6358ffd72e9ce5a2296b126ce9218a334b260c31535e2de59f
53 -DIST linux-5.8.1.tar.xz 114458544 BLAKE2B 40d5bdd654b9c9771c5adca3b068e383390cfd643ad10cbc189b05257c0fe2095c8c76b316430fab8e6adee887ddac31665df8c97c477b73a613669a60d4aad8 SHA512 d294f6d88dca47e3cbedbd0219f2b662572aa0f12fc1913ae79513362cf0932e3a8009c775e5d0d43957dfb1c79f560a38de07fbed169e171f8af25af29b14f5
54 -DIST linux-5.8.2.tar.xz 114464464 BLAKE2B ee0cc2de6c4046dd5215d4bedf2f1cc7d511d161f8083781953587b05f71445af06070a82ac44db50e72a8be069a4c02d13eca58157e15f601f69769664228ac SHA512 3c82ad4ca86c5ac7864fb12b32de1163143d118e02307f35c3f29f7cf23a3cbb874953c7eff39b7ff6240a6d0cbb7aa3f4a5a833a2eedd08d074c64dd7e2e5b8
55 DIST linux-5.8.3.tar.xz 114473912 BLAKE2B 9d2913bbaf4afabd8f654abd0a2a3c62df043a613cbc2518944f5889d1a760ab6401e76d0b67b0cc9fbe05c8a0e280fe9b2ebf125f50ff5962f097956642fd8e SHA512 a23973139bf105e202621f6181be366e1a933aefd1da9a347d3a19c0917ba16dd271b5c8d90a8c527791fb0f7535a1cc1bbecd118598b500c881d16ff7d64157
56 DIST tinycorelinux-10.1-amd64.qcow2 16842752 BLAKE2B e013e76503c335739a9623c0901ca791937a0e6b177854535cadec1e2c2cd2df588283ed3128cf652595f32264fbfe5b3bd3a8c97665fd4da344e308535be366 SHA512 c3aeb20ff8769da9211694b7f701907cc7ae7582cdfad2c2fdc008d97ebcbd9dc08245b4e8f8450e1cb304bd705345a11fe79f901a47979fee91443841d55641
57 DIST tinycorelinux-10.1-x86.qcow2 14876672 BLAKE2B 3c760eb7438b13261e52ecfaa33a53649ced95f1ab40aae52134b8cdc31a16d7aa0d6a6dd716e268ed148e9d77a10b7c700b141b61d70c82d271ffe88e8e2a3c SHA512 9964538dc42f232a11949f74b61d46422ea5da3bdc253a217119bd0b8a750c40fd2da0b07157067be9ac0226472614f210a1248114df0d331df390979867a895
58
59 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.40.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.40.ebuild
60 deleted file mode 100644
61 index cc5e365bda5..00000000000
62 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.40.ebuild
63 +++ /dev/null
64 @@ -1,65 +0,0 @@
65 -# Copyright 2020 Gentoo Authors
66 -# Distributed under the terms of the GNU General Public License v2
67 -
68 -EAPI=7
69 -
70 -inherit kernel-build
71 -
72 -MY_P=linux-${PV}
73 -# https://git.archlinux.org/svntogit/packages.git/log/trunk/config?h=packages/linux
74 -AMD64_CONFIG_VER=5.4.15-arch1
75 -AMD64_CONFIG_HASH=dc8d69b59a7a529ec5aaeb6b32b16e59a3cc1569
76 -# https://git.archlinux32.org/packages/log/core/linux/config.i686
77 -I686_CONFIG_VER=5.4.15-arch1
78 -I686_CONFIG_HASH=1ad219bd3f0ab439a81ed01fec7660eeea7daa0e
79 -
80 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
81 -HOMEPAGE="https://www.kernel.org/"
82 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
83 - amd64? (
84 - https://git.archlinux.org/svntogit/packages.git/plain/trunk/config?h=packages/linux&id=${AMD64_CONFIG_HASH}
85 - -> linux-${AMD64_CONFIG_VER}.amd64.config
86 - )
87 - x86? (
88 - https://git.archlinux32.org/packages/plain/core/linux/config.i686?id=${I686_CONFIG_HASH}
89 - -> linux-${I686_CONFIG_VER}.i686.config
90 - )"
91 -S=${WORKDIR}/${MY_P}
92 -
93 -LICENSE="GPL-2"
94 -KEYWORDS="~amd64 ~x86"
95 -
96 -RDEPEND="
97 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
98 -
99 -src_prepare() {
100 - default
101 -
102 - # prepare the default config
103 - case ${ARCH} in
104 - amd64)
105 - cp "${DISTDIR}"/linux-${AMD64_CONFIG_VER}.amd64.config .config || die
106 - ;;
107 - x86)
108 - cp "${DISTDIR}"/linux-${I686_CONFIG_VER}.i686.config .config || die
109 - ;;
110 - *)
111 - die "Unsupported arch ${ARCH}"
112 - ;;
113 - esac
114 -
115 - local config_tweaks=(
116 - # shove arch under the carpet!
117 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
118 - # we do support x32
119 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
120 - # disable signatures
121 - -e '/CONFIG_MODULE_SIG/d'
122 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
123 - # disable compression to allow stripping
124 - -e '/CONFIG_MODULE_COMPRESS/d'
125 - # disable gcc plugins to unbreak distcc
126 - -e '/CONFIG_GCC_PLUGIN_STRUCTLEAK/d'
127 - )
128 - sed -i "${config_tweaks[@]}" .config || die
129 -}
130
131 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.52.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.52.ebuild
132 deleted file mode 100644
133 index 751244a438b..00000000000
134 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.52.ebuild
135 +++ /dev/null
136 @@ -1,76 +0,0 @@
137 -# Copyright 2020 Gentoo Authors
138 -# Distributed under the terms of the GNU General Public License v2
139 -
140 -EAPI=7
141 -
142 -inherit kernel-build
143 -
144 -MY_P=linux-${PV}
145 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
146 -CONFIG_VER=5.4.21
147 -CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
148 -
149 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
150 -HOMEPAGE="https://www.kernel.org/"
151 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
152 - amd64? (
153 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
154 - -> kernel-x86_64.config.${CONFIG_VER}
155 - )
156 - x86? (
157 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
158 - -> kernel-i686.config.${CONFIG_VER}
159 - )"
160 -S=${WORKDIR}/${MY_P}
161 -
162 -LICENSE="GPL-2"
163 -KEYWORDS="~amd64 ~x86"
164 -IUSE="debug"
165 -
166 -RDEPEND="
167 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
168 -BDEPEND="
169 - debug? ( dev-util/dwarves )"
170 -
171 -pkg_pretend() {
172 - ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
173 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
174 -
175 - kernel-install_pkg_pretend
176 -}
177 -
178 -src_prepare() {
179 - default
180 -
181 - # prepare the default config
182 - case ${ARCH} in
183 - amd64)
184 - cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
185 - ;;
186 - x86)
187 - cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
188 - ;;
189 - *)
190 - die "Unsupported arch ${ARCH}"
191 - ;;
192 - esac
193 -
194 - local config_tweaks=(
195 - # shove arch under the carpet!
196 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
197 - # we do support x32
198 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
199 - # disable signatures
200 - -e '/CONFIG_MODULE_SIG/d'
201 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
202 - )
203 - use debug || config_tweaks+=(
204 - -e '/CONFIG_DEBUG_INFO/d'
205 - )
206 - [[ ${ARCH} == x86 ]] && config_tweaks+=(
207 - # fix autoenabling 64bit
208 - -e '2i\
209 -# CONFIG_64BIT is not set'
210 - )
211 - sed -i "${config_tweaks[@]}" .config || die
212 -}
213
214 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.53.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.53.ebuild
215 deleted file mode 100644
216 index 751244a438b..00000000000
217 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.53.ebuild
218 +++ /dev/null
219 @@ -1,76 +0,0 @@
220 -# Copyright 2020 Gentoo Authors
221 -# Distributed under the terms of the GNU General Public License v2
222 -
223 -EAPI=7
224 -
225 -inherit kernel-build
226 -
227 -MY_P=linux-${PV}
228 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
229 -CONFIG_VER=5.4.21
230 -CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
231 -
232 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
233 -HOMEPAGE="https://www.kernel.org/"
234 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
235 - amd64? (
236 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
237 - -> kernel-x86_64.config.${CONFIG_VER}
238 - )
239 - x86? (
240 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
241 - -> kernel-i686.config.${CONFIG_VER}
242 - )"
243 -S=${WORKDIR}/${MY_P}
244 -
245 -LICENSE="GPL-2"
246 -KEYWORDS="~amd64 ~x86"
247 -IUSE="debug"
248 -
249 -RDEPEND="
250 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
251 -BDEPEND="
252 - debug? ( dev-util/dwarves )"
253 -
254 -pkg_pretend() {
255 - ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
256 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
257 -
258 - kernel-install_pkg_pretend
259 -}
260 -
261 -src_prepare() {
262 - default
263 -
264 - # prepare the default config
265 - case ${ARCH} in
266 - amd64)
267 - cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
268 - ;;
269 - x86)
270 - cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
271 - ;;
272 - *)
273 - die "Unsupported arch ${ARCH}"
274 - ;;
275 - esac
276 -
277 - local config_tweaks=(
278 - # shove arch under the carpet!
279 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
280 - # we do support x32
281 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
282 - # disable signatures
283 - -e '/CONFIG_MODULE_SIG/d'
284 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
285 - )
286 - use debug || config_tweaks+=(
287 - -e '/CONFIG_DEBUG_INFO/d'
288 - )
289 - [[ ${ARCH} == x86 ]] && config_tweaks+=(
290 - # fix autoenabling 64bit
291 - -e '2i\
292 -# CONFIG_64BIT is not set'
293 - )
294 - sed -i "${config_tweaks[@]}" .config || die
295 -}
296
297 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.55.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.55.ebuild
298 deleted file mode 100644
299 index 751244a438b..00000000000
300 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.55.ebuild
301 +++ /dev/null
302 @@ -1,76 +0,0 @@
303 -# Copyright 2020 Gentoo Authors
304 -# Distributed under the terms of the GNU General Public License v2
305 -
306 -EAPI=7
307 -
308 -inherit kernel-build
309 -
310 -MY_P=linux-${PV}
311 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
312 -CONFIG_VER=5.4.21
313 -CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
314 -
315 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
316 -HOMEPAGE="https://www.kernel.org/"
317 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
318 - amd64? (
319 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
320 - -> kernel-x86_64.config.${CONFIG_VER}
321 - )
322 - x86? (
323 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
324 - -> kernel-i686.config.${CONFIG_VER}
325 - )"
326 -S=${WORKDIR}/${MY_P}
327 -
328 -LICENSE="GPL-2"
329 -KEYWORDS="~amd64 ~x86"
330 -IUSE="debug"
331 -
332 -RDEPEND="
333 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
334 -BDEPEND="
335 - debug? ( dev-util/dwarves )"
336 -
337 -pkg_pretend() {
338 - ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
339 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
340 -
341 - kernel-install_pkg_pretend
342 -}
343 -
344 -src_prepare() {
345 - default
346 -
347 - # prepare the default config
348 - case ${ARCH} in
349 - amd64)
350 - cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
351 - ;;
352 - x86)
353 - cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
354 - ;;
355 - *)
356 - die "Unsupported arch ${ARCH}"
357 - ;;
358 - esac
359 -
360 - local config_tweaks=(
361 - # shove arch under the carpet!
362 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
363 - # we do support x32
364 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
365 - # disable signatures
366 - -e '/CONFIG_MODULE_SIG/d'
367 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
368 - )
369 - use debug || config_tweaks+=(
370 - -e '/CONFIG_DEBUG_INFO/d'
371 - )
372 - [[ ${ARCH} == x86 ]] && config_tweaks+=(
373 - # fix autoenabling 64bit
374 - -e '2i\
375 -# CONFIG_64BIT is not set'
376 - )
377 - sed -i "${config_tweaks[@]}" .config || die
378 -}
379
380 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.56.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.56.ebuild
381 deleted file mode 100644
382 index 751244a438b..00000000000
383 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.56.ebuild
384 +++ /dev/null
385 @@ -1,76 +0,0 @@
386 -# Copyright 2020 Gentoo Authors
387 -# Distributed under the terms of the GNU General Public License v2
388 -
389 -EAPI=7
390 -
391 -inherit kernel-build
392 -
393 -MY_P=linux-${PV}
394 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
395 -CONFIG_VER=5.4.21
396 -CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
397 -
398 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
399 -HOMEPAGE="https://www.kernel.org/"
400 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
401 - amd64? (
402 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
403 - -> kernel-x86_64.config.${CONFIG_VER}
404 - )
405 - x86? (
406 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
407 - -> kernel-i686.config.${CONFIG_VER}
408 - )"
409 -S=${WORKDIR}/${MY_P}
410 -
411 -LICENSE="GPL-2"
412 -KEYWORDS="~amd64 ~x86"
413 -IUSE="debug"
414 -
415 -RDEPEND="
416 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
417 -BDEPEND="
418 - debug? ( dev-util/dwarves )"
419 -
420 -pkg_pretend() {
421 - ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
422 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
423 -
424 - kernel-install_pkg_pretend
425 -}
426 -
427 -src_prepare() {
428 - default
429 -
430 - # prepare the default config
431 - case ${ARCH} in
432 - amd64)
433 - cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
434 - ;;
435 - x86)
436 - cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
437 - ;;
438 - *)
439 - die "Unsupported arch ${ARCH}"
440 - ;;
441 - esac
442 -
443 - local config_tweaks=(
444 - # shove arch under the carpet!
445 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
446 - # we do support x32
447 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
448 - # disable signatures
449 - -e '/CONFIG_MODULE_SIG/d'
450 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
451 - )
452 - use debug || config_tweaks+=(
453 - -e '/CONFIG_DEBUG_INFO/d'
454 - )
455 - [[ ${ARCH} == x86 ]] && config_tweaks+=(
456 - # fix autoenabling 64bit
457 - -e '2i\
458 -# CONFIG_64BIT is not set'
459 - )
460 - sed -i "${config_tweaks[@]}" .config || die
461 -}
462
463 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.58.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.58.ebuild
464 deleted file mode 100644
465 index d2655d6349c..00000000000
466 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.58.ebuild
467 +++ /dev/null
468 @@ -1,83 +0,0 @@
469 -# Copyright 2020 Gentoo Authors
470 -# Distributed under the terms of the GNU General Public License v2
471 -
472 -EAPI=7
473 -
474 -inherit kernel-build
475 -
476 -MY_P=linux-${PV}
477 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
478 -CONFIG_VER=5.4.21
479 -CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
480 -
481 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
482 -HOMEPAGE="https://www.kernel.org/"
483 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
484 - amd64? (
485 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
486 - -> kernel-x86_64.config.${CONFIG_VER}
487 - )
488 - arm64? (
489 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
490 - -> kernel-aarch64.config.${CONFIG_VER}
491 - )
492 - x86? (
493 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
494 - -> kernel-i686.config.${CONFIG_VER}
495 - )"
496 -S=${WORKDIR}/${MY_P}
497 -
498 -LICENSE="GPL-2"
499 -KEYWORDS="~amd64 ~arm64 ~x86"
500 -IUSE="debug"
501 -
502 -RDEPEND="
503 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
504 -BDEPEND="
505 - debug? ( dev-util/dwarves )"
506 -
507 -pkg_pretend() {
508 - ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
509 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
510 -
511 - kernel-install_pkg_pretend
512 -}
513 -
514 -src_prepare() {
515 - default
516 -
517 - # prepare the default config
518 - case ${ARCH} in
519 - amd64)
520 - cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
521 - ;;
522 - arm64)
523 - cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
524 - ;;
525 - x86)
526 - cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
527 - ;;
528 - *)
529 - die "Unsupported arch ${ARCH}"
530 - ;;
531 - esac
532 -
533 - local config_tweaks=(
534 - # shove arch under the carpet!
535 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
536 - # we do support x32
537 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
538 - # disable signatures
539 - -e '/CONFIG_MODULE_SIG/d'
540 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
541 - )
542 - use debug || config_tweaks+=(
543 - -e '/CONFIG_DEBUG_INFO/d'
544 - )
545 - [[ ${ARCH} == x86 ]] && config_tweaks+=(
546 - # fix autoenabling 64bit
547 - -e '2i\
548 -# CONFIG_64BIT is not set'
549 - )
550 - sed -i "${config_tweaks[@]}" .config || die
551 -}
552
553 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.59.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.59.ebuild
554 deleted file mode 100644
555 index d2655d6349c..00000000000
556 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.59.ebuild
557 +++ /dev/null
558 @@ -1,83 +0,0 @@
559 -# Copyright 2020 Gentoo Authors
560 -# Distributed under the terms of the GNU General Public License v2
561 -
562 -EAPI=7
563 -
564 -inherit kernel-build
565 -
566 -MY_P=linux-${PV}
567 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
568 -CONFIG_VER=5.4.21
569 -CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
570 -
571 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
572 -HOMEPAGE="https://www.kernel.org/"
573 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
574 - amd64? (
575 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config
576 - -> kernel-x86_64.config.${CONFIG_VER}
577 - )
578 - arm64? (
579 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
580 - -> kernel-aarch64.config.${CONFIG_VER}
581 - )
582 - x86? (
583 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
584 - -> kernel-i686.config.${CONFIG_VER}
585 - )"
586 -S=${WORKDIR}/${MY_P}
587 -
588 -LICENSE="GPL-2"
589 -KEYWORDS="~amd64 ~arm64 ~x86"
590 -IUSE="debug"
591 -
592 -RDEPEND="
593 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
594 -BDEPEND="
595 - debug? ( dev-util/dwarves )"
596 -
597 -pkg_pretend() {
598 - ewarn "Starting with 5.4.52, Distribution Kernels are switching from Arch"
599 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
600 -
601 - kernel-install_pkg_pretend
602 -}
603 -
604 -src_prepare() {
605 - default
606 -
607 - # prepare the default config
608 - case ${ARCH} in
609 - amd64)
610 - cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
611 - ;;
612 - arm64)
613 - cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
614 - ;;
615 - x86)
616 - cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
617 - ;;
618 - *)
619 - die "Unsupported arch ${ARCH}"
620 - ;;
621 - esac
622 -
623 - local config_tweaks=(
624 - # shove arch under the carpet!
625 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
626 - # we do support x32
627 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
628 - # disable signatures
629 - -e '/CONFIG_MODULE_SIG/d'
630 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
631 - )
632 - use debug || config_tweaks+=(
633 - -e '/CONFIG_DEBUG_INFO/d'
634 - )
635 - [[ ${ARCH} == x86 ]] && config_tweaks+=(
636 - # fix autoenabling 64bit
637 - -e '2i\
638 -# CONFIG_64BIT is not set'
639 - )
640 - sed -i "${config_tweaks[@]}" .config || die
641 -}
642
643 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.10.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.10.ebuild
644 deleted file mode 100644
645 index 079fc98c2af..00000000000
646 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.10.ebuild
647 +++ /dev/null
648 @@ -1,77 +0,0 @@
649 -# Copyright 2020 Gentoo Authors
650 -# Distributed under the terms of the GNU General Public License v2
651 -
652 -EAPI=7
653 -
654 -inherit kernel-build
655 -
656 -MY_P=linux-${PV}
657 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
658 -CONFIG_VER=5.7.8
659 -CONFIG_HASH=14d239184a721485a823f30f5aede1c6190558ad
660 -
661 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
662 -HOMEPAGE="https://www.kernel.org/"
663 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
664 - amd64? (
665 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
666 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
667 - )
668 - x86? (
669 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
670 - -> kernel-i686-fedora.config.${CONFIG_VER}
671 - )"
672 -S=${WORKDIR}/${MY_P}
673 -
674 -LICENSE="GPL-2"
675 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
676 -IUSE="debug"
677 -REQUIRED_USE="
678 - arm? ( savedconfig )
679 - arm64? ( savedconfig )"
680 -
681 -RDEPEND="
682 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
683 -BDEPEND="
684 - debug? ( dev-util/dwarves )"
685 -
686 -pkg_pretend() {
687 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
688 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
689 -
690 - kernel-install_pkg_pretend
691 -}
692 -
693 -src_prepare() {
694 - default
695 -
696 - # prepare the default config
697 - case ${ARCH} in
698 - amd64)
699 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
700 - ;;
701 - x86)
702 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
703 - ;;
704 - arm|arm64)
705 - return
706 - ;;
707 - *)
708 - die "Unsupported arch ${ARCH}"
709 - ;;
710 - esac
711 -
712 - local config_tweaks=(
713 - # shove arch under the carpet!
714 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
715 - # we do support x32
716 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
717 - # disable signatures
718 - -e '/CONFIG_MODULE_SIG/d'
719 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
720 - )
721 - use debug || config_tweaks+=(
722 - -e '/CONFIG_DEBUG_INFO/d'
723 - )
724 - sed -i "${config_tweaks[@]}" .config || die
725 -}
726
727 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.12.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.12.ebuild
728 deleted file mode 100644
729 index 079fc98c2af..00000000000
730 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.12.ebuild
731 +++ /dev/null
732 @@ -1,77 +0,0 @@
733 -# Copyright 2020 Gentoo Authors
734 -# Distributed under the terms of the GNU General Public License v2
735 -
736 -EAPI=7
737 -
738 -inherit kernel-build
739 -
740 -MY_P=linux-${PV}
741 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
742 -CONFIG_VER=5.7.8
743 -CONFIG_HASH=14d239184a721485a823f30f5aede1c6190558ad
744 -
745 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
746 -HOMEPAGE="https://www.kernel.org/"
747 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
748 - amd64? (
749 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
750 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
751 - )
752 - x86? (
753 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
754 - -> kernel-i686-fedora.config.${CONFIG_VER}
755 - )"
756 -S=${WORKDIR}/${MY_P}
757 -
758 -LICENSE="GPL-2"
759 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
760 -IUSE="debug"
761 -REQUIRED_USE="
762 - arm? ( savedconfig )
763 - arm64? ( savedconfig )"
764 -
765 -RDEPEND="
766 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
767 -BDEPEND="
768 - debug? ( dev-util/dwarves )"
769 -
770 -pkg_pretend() {
771 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
772 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
773 -
774 - kernel-install_pkg_pretend
775 -}
776 -
777 -src_prepare() {
778 - default
779 -
780 - # prepare the default config
781 - case ${ARCH} in
782 - amd64)
783 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
784 - ;;
785 - x86)
786 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
787 - ;;
788 - arm|arm64)
789 - return
790 - ;;
791 - *)
792 - die "Unsupported arch ${ARCH}"
793 - ;;
794 - esac
795 -
796 - local config_tweaks=(
797 - # shove arch under the carpet!
798 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
799 - # we do support x32
800 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
801 - # disable signatures
802 - -e '/CONFIG_MODULE_SIG/d'
803 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
804 - )
805 - use debug || config_tweaks+=(
806 - -e '/CONFIG_DEBUG_INFO/d'
807 - )
808 - sed -i "${config_tweaks[@]}" .config || die
809 -}
810
811 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.13.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.13.ebuild
812 deleted file mode 100644
813 index 079fc98c2af..00000000000
814 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.13.ebuild
815 +++ /dev/null
816 @@ -1,77 +0,0 @@
817 -# Copyright 2020 Gentoo Authors
818 -# Distributed under the terms of the GNU General Public License v2
819 -
820 -EAPI=7
821 -
822 -inherit kernel-build
823 -
824 -MY_P=linux-${PV}
825 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
826 -CONFIG_VER=5.7.8
827 -CONFIG_HASH=14d239184a721485a823f30f5aede1c6190558ad
828 -
829 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
830 -HOMEPAGE="https://www.kernel.org/"
831 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
832 - amd64? (
833 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
834 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
835 - )
836 - x86? (
837 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
838 - -> kernel-i686-fedora.config.${CONFIG_VER}
839 - )"
840 -S=${WORKDIR}/${MY_P}
841 -
842 -LICENSE="GPL-2"
843 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
844 -IUSE="debug"
845 -REQUIRED_USE="
846 - arm? ( savedconfig )
847 - arm64? ( savedconfig )"
848 -
849 -RDEPEND="
850 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
851 -BDEPEND="
852 - debug? ( dev-util/dwarves )"
853 -
854 -pkg_pretend() {
855 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
856 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
857 -
858 - kernel-install_pkg_pretend
859 -}
860 -
861 -src_prepare() {
862 - default
863 -
864 - # prepare the default config
865 - case ${ARCH} in
866 - amd64)
867 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
868 - ;;
869 - x86)
870 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
871 - ;;
872 - arm|arm64)
873 - return
874 - ;;
875 - *)
876 - die "Unsupported arch ${ARCH}"
877 - ;;
878 - esac
879 -
880 - local config_tweaks=(
881 - # shove arch under the carpet!
882 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
883 - # we do support x32
884 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
885 - # disable signatures
886 - -e '/CONFIG_MODULE_SIG/d'
887 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
888 - )
889 - use debug || config_tweaks+=(
890 - -e '/CONFIG_DEBUG_INFO/d'
891 - )
892 - sed -i "${config_tweaks[@]}" .config || die
893 -}
894
895 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.15.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.15.ebuild
896 deleted file mode 100644
897 index da392ebe6f5..00000000000
898 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.15.ebuild
899 +++ /dev/null
900 @@ -1,83 +0,0 @@
901 -# Copyright 2020 Gentoo Authors
902 -# Distributed under the terms of the GNU General Public License v2
903 -
904 -EAPI=7
905 -
906 -inherit kernel-build
907 -
908 -MY_P=linux-${PV}
909 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
910 -CONFIG_VER=5.7.8
911 -CONFIG_HASH=14d239184a721485a823f30f5aede1c6190558ad
912 -
913 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
914 -HOMEPAGE="https://www.kernel.org/"
915 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
916 - amd64? (
917 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
918 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
919 - )
920 - arm64? (
921 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
922 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
923 - )
924 - x86? (
925 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
926 - -> kernel-i686-fedora.config.${CONFIG_VER}
927 - )"
928 -S=${WORKDIR}/${MY_P}
929 -
930 -LICENSE="GPL-2"
931 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
932 -IUSE="debug"
933 -REQUIRED_USE="
934 - arm? ( savedconfig )"
935 -
936 -RDEPEND="
937 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
938 -BDEPEND="
939 - debug? ( dev-util/dwarves )"
940 -
941 -pkg_pretend() {
942 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
943 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
944 -
945 - kernel-install_pkg_pretend
946 -}
947 -
948 -src_prepare() {
949 - default
950 -
951 - # prepare the default config
952 - case ${ARCH} in
953 - amd64)
954 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
955 - ;;
956 - arm)
957 - return
958 - ;;
959 - arm64)
960 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
961 - ;;
962 - x86)
963 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
964 - ;;
965 - *)
966 - die "Unsupported arch ${ARCH}"
967 - ;;
968 - esac
969 -
970 - local config_tweaks=(
971 - # shove arch under the carpet!
972 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
973 - # we do support x32
974 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
975 - # disable signatures
976 - -e '/CONFIG_MODULE_SIG/d'
977 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
978 - )
979 - use debug || config_tweaks+=(
980 - -e '/CONFIG_DEBUG_INFO/d'
981 - )
982 - sed -i "${config_tweaks[@]}" .config || die
983 -}
984
985 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.16.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.16.ebuild
986 deleted file mode 100644
987 index da392ebe6f5..00000000000
988 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.7.16.ebuild
989 +++ /dev/null
990 @@ -1,83 +0,0 @@
991 -# Copyright 2020 Gentoo Authors
992 -# Distributed under the terms of the GNU General Public License v2
993 -
994 -EAPI=7
995 -
996 -inherit kernel-build
997 -
998 -MY_P=linux-${PV}
999 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
1000 -CONFIG_VER=5.7.8
1001 -CONFIG_HASH=14d239184a721485a823f30f5aede1c6190558ad
1002 -
1003 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
1004 -HOMEPAGE="https://www.kernel.org/"
1005 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
1006 - amd64? (
1007 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
1008 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
1009 - )
1010 - arm64? (
1011 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
1012 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
1013 - )
1014 - x86? (
1015 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
1016 - -> kernel-i686-fedora.config.${CONFIG_VER}
1017 - )"
1018 -S=${WORKDIR}/${MY_P}
1019 -
1020 -LICENSE="GPL-2"
1021 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
1022 -IUSE="debug"
1023 -REQUIRED_USE="
1024 - arm? ( savedconfig )"
1025 -
1026 -RDEPEND="
1027 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
1028 -BDEPEND="
1029 - debug? ( dev-util/dwarves )"
1030 -
1031 -pkg_pretend() {
1032 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
1033 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
1034 -
1035 - kernel-install_pkg_pretend
1036 -}
1037 -
1038 -src_prepare() {
1039 - default
1040 -
1041 - # prepare the default config
1042 - case ${ARCH} in
1043 - amd64)
1044 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
1045 - ;;
1046 - arm)
1047 - return
1048 - ;;
1049 - arm64)
1050 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
1051 - ;;
1052 - x86)
1053 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
1054 - ;;
1055 - *)
1056 - die "Unsupported arch ${ARCH}"
1057 - ;;
1058 - esac
1059 -
1060 - local config_tweaks=(
1061 - # shove arch under the carpet!
1062 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
1063 - # we do support x32
1064 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
1065 - # disable signatures
1066 - -e '/CONFIG_MODULE_SIG/d'
1067 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
1068 - )
1069 - use debug || config_tweaks+=(
1070 - -e '/CONFIG_DEBUG_INFO/d'
1071 - )
1072 - sed -i "${config_tweaks[@]}" .config || die
1073 -}
1074
1075 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.1.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.1.ebuild
1076 deleted file mode 100644
1077 index 9da43339c7d..00000000000
1078 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.1.ebuild
1079 +++ /dev/null
1080 @@ -1,83 +0,0 @@
1081 -# Copyright 2020 Gentoo Authors
1082 -# Distributed under the terms of the GNU General Public License v2
1083 -
1084 -EAPI=7
1085 -
1086 -inherit kernel-build
1087 -
1088 -MY_P=linux-${PV}
1089 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
1090 -CONFIG_VER=5.8.1
1091 -CONFIG_HASH=47a895f435cccb2cb14eb5d0c52d2f6d4d904907
1092 -
1093 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
1094 -HOMEPAGE="https://www.kernel.org/"
1095 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
1096 - amd64? (
1097 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
1098 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
1099 - )
1100 - arm64? (
1101 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
1102 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
1103 - )
1104 - x86? (
1105 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
1106 - -> kernel-i686-fedora.config.${CONFIG_VER}
1107 - )"
1108 -S=${WORKDIR}/${MY_P}
1109 -
1110 -LICENSE="GPL-2"
1111 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
1112 -IUSE="debug"
1113 -REQUIRED_USE="
1114 - arm? ( savedconfig )"
1115 -
1116 -RDEPEND="
1117 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
1118 -BDEPEND="
1119 - debug? ( dev-util/dwarves )"
1120 -
1121 -pkg_pretend() {
1122 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
1123 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
1124 -
1125 - kernel-install_pkg_pretend
1126 -}
1127 -
1128 -src_prepare() {
1129 - default
1130 -
1131 - # prepare the default config
1132 - case ${ARCH} in
1133 - amd64)
1134 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
1135 - ;;
1136 - arm)
1137 - return
1138 - ;;
1139 - arm64)
1140 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
1141 - ;;
1142 - x86)
1143 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
1144 - ;;
1145 - *)
1146 - die "Unsupported arch ${ARCH}"
1147 - ;;
1148 - esac
1149 -
1150 - local config_tweaks=(
1151 - # shove arch under the carpet!
1152 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
1153 - # we do support x32
1154 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
1155 - # disable signatures
1156 - -e '/CONFIG_MODULE_SIG/d'
1157 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
1158 - )
1159 - use debug || config_tweaks+=(
1160 - -e '/CONFIG_DEBUG_INFO/d'
1161 - )
1162 - sed -i "${config_tweaks[@]}" .config || die
1163 -}
1164
1165 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.2.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.2.ebuild
1166 deleted file mode 100644
1167 index 9da43339c7d..00000000000
1168 --- a/sys-kernel/vanilla-kernel/vanilla-kernel-5.8.2.ebuild
1169 +++ /dev/null
1170 @@ -1,83 +0,0 @@
1171 -# Copyright 2020 Gentoo Authors
1172 -# Distributed under the terms of the GNU General Public License v2
1173 -
1174 -EAPI=7
1175 -
1176 -inherit kernel-build
1177 -
1178 -MY_P=linux-${PV}
1179 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
1180 -CONFIG_VER=5.8.1
1181 -CONFIG_HASH=47a895f435cccb2cb14eb5d0c52d2f6d4d904907
1182 -
1183 -DESCRIPTION="Linux kernel built from vanilla upstream sources"
1184 -HOMEPAGE="https://www.kernel.org/"
1185 -SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
1186 - amd64? (
1187 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
1188 - -> kernel-x86_64-fedora.config.${CONFIG_VER}
1189 - )
1190 - arm64? (
1191 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
1192 - -> kernel-aarch64-fedora.config.${CONFIG_VER}
1193 - )
1194 - x86? (
1195 - https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
1196 - -> kernel-i686-fedora.config.${CONFIG_VER}
1197 - )"
1198 -S=${WORKDIR}/${MY_P}
1199 -
1200 -LICENSE="GPL-2"
1201 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
1202 -IUSE="debug"
1203 -REQUIRED_USE="
1204 - arm? ( savedconfig )"
1205 -
1206 -RDEPEND="
1207 - !sys-kernel/vanilla-kernel-bin:${SLOT}"
1208 -BDEPEND="
1209 - debug? ( dev-util/dwarves )"
1210 -
1211 -pkg_pretend() {
1212 - ewarn "Starting with 5.7.9, Distribution Kernels are switching from Arch"
1213 - ewarn "Linux configs to Fedora. Please keep a backup kernel just in case."
1214 -
1215 - kernel-install_pkg_pretend
1216 -}
1217 -
1218 -src_prepare() {
1219 - default
1220 -
1221 - # prepare the default config
1222 - case ${ARCH} in
1223 - amd64)
1224 - cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
1225 - ;;
1226 - arm)
1227 - return
1228 - ;;
1229 - arm64)
1230 - cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
1231 - ;;
1232 - x86)
1233 - cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
1234 - ;;
1235 - *)
1236 - die "Unsupported arch ${ARCH}"
1237 - ;;
1238 - esac
1239 -
1240 - local config_tweaks=(
1241 - # shove arch under the carpet!
1242 - -e 's:^CONFIG_DEFAULT_HOSTNAME=:&"gentoo":'
1243 - # we do support x32
1244 - -e '/CONFIG_X86_X32/s:.*:CONFIG_X86_X32=y:'
1245 - # disable signatures
1246 - -e '/CONFIG_MODULE_SIG/d'
1247 - -e '/CONFIG_SECURITY_LOCKDOWN/d'
1248 - )
1249 - use debug || config_tweaks+=(
1250 - -e '/CONFIG_DEBUG_INFO/d'
1251 - )
1252 - sed -i "${config_tweaks[@]}" .config || die
1253 -}