Hello Mike,


On Thu, May 18, 2017 at 8:13 AM, Mike Pagano <mpag...@gentoo.org> wrote:
> For the latest rc kernel release, (4.12-rc1), upstream has decided to
> change the way the patch is distributed.
> The patch now resides in a git repository and is no longer compressed.
>
> Some discussion can be found here[1] if one is interested. They could
> reverse this decision.

>>One thing worth noting - I haven't uploaded diffs or tar-balls for
>>this rc. Those should now be automagically generated by kernel.org for
>>the rc's, but that also means that they won't be signed by my key. If
>>you really care about signing, get the git repo and check the tag.

so maybe they will start to auto-generate the tar-balls and diff ?
looks like a bit step for kernel.org


>
> This patch handles the change for rc kernels >= 4.12.
>
>
> [1] https://lkml.org/lkml/2017/5/13/182
>
> Signed-off-by: Mike Pagano <mpag...@gentoo.org>
> ---
>  eclass/kernel-2.eclass | 16 +++++++++++++---
>  1 file changed, 13 insertions(+), 3 deletions(-)
>
> diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
> index db4a3bf72..52749cda9 100644
> --- a/eclass/kernel-2.eclass
> +++ b/eclass/kernel-2.eclass
> @@ -506,10 +506,20 @@ detect_version() {
>                 OKV_DICT=(["2"]="${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))" 
> ["3"]="2.6.39"
> ["4"]="3.19")
>
>                 if [[ ${RELEASETYPE} == -rc ]] || [[ ${RELEASETYPE} == -pre 
> ]]; then
> +
>                         OKV=${K_BASE_VER:-$OKV_DICT["${KV_MAJOR}"]}
> -                       
> KERNEL_URI="${KERNEL_BASE_URI}/testing/patch-${CKV//_/-}.xz
> -                                               
> ${KERNEL_BASE_URI}/linux-${OKV}.tar.xz"
> -                       
> UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${CKV//_/-}.xz"
> +
> +                       # as of 12/5/2017, the rc patch is no longer offered 
> as a compressed
> +                       # file, and no longer is it mirrored on kernel.org
> +                       if [[ ${KV_MAJOR} -ge 4 ]] && [[ ${KV_PATCH} -ge 12 
> ]]; then
> +                               
> KERNEL_URI="https://git.kernel.org/torvalds/p/v${KV}/v${OKV} ->
> patch-${KV}
> +                                                       
> ${KERNEL_BASE_URI}/linux-${OKV}.tar.xz"
> +                               
> UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${CKV//_/-}"
> +                       else
> +                               
> KERNEL_URI="${KERNEL_BASE_URI}/testing/patch-${CKV//_/-}.xz
> +                                                       
> ${KERNEL_BASE_URI}/linux-${OKV}.tar.xz"
> +                               
> UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${CKV//_/-}.xz"
> +                       fi
>                 fi
>
>                 if [[ ${RELEASETYPE} == -git ]]; then


looks ok for me.

> --
> 2.13.0
> Mike Pagano
> Gentoo Developer - Kernel Project
> Gentoo Sources - Lead
> E-Mail     : mpag...@gentoo.org
> GnuPG FP   : 52CC A0B0 F631 0B17 0142 F83F 92A6 DBEC 81F2 B137
> Public Key :
> http://http://pgp.mit.edu/pks/lookup?search=0x92A6DBEC81F2B137&op=index
>
>



-- 
アリス フェッラッツィ
Alice Ferrazzi

Gentoo Kernel Project Leader
Mail: Alice Ferrazzi <ali...@gentoo.org>
PGP: 2E4E 0856 461C 0585 1336 F496 5621 A6B2 8638 781A

Reply via email to