diff mbox series

[meta-rockchip] linux-torvalds-next: update SRCREV

Message ID 20241207153154.9125-1-oleksii.kurochko@gmail.com
State New
Headers show
Series [meta-rockchip] linux-torvalds-next: update SRCREV | expand

Commit Message

Oleksii Kurochko Dec. 7, 2024, 3:31 p.m. UTC
During the fetch process, the following issue occurs:
 Unable to find revision fdadd93817f124fd0ea6ef251d4a1068b7feceba in branch
 even from upstream

This issue arises because the tag next-20240904 and the commit hash
fdadd93817f124fd0ea6ef251d4a1068b7feceba do not exist. This can be verified
by running the following commands in
<yocto>/build/tmp/work-shared/radxa-zero-3e/kernel-source:
  $ git tag | grep next-20240904
  $ git branch --contains fdadd93817f124fd0ea6ef251d4a1068b7feceba
    error: no such commit fdadd93817f124fd0ea6ef251d4a1068b7feceba

The head commit of v6.11-rc6 is:
  $ git rev-list -n 1 v6.11-rc6
    431c1646e1f86b949fa3685efc50b660a364c2b6

Update the SRCREV to the head commit corresponding to the hash of v6.11-rc6.

Fixes: 7f91ebf5c17ce ("linux-torvalds-next: bump to next-20240904")
Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
---
 recipes-kernel/linux/linux-torvalds-next_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Quentin Schulz Dec. 9, 2024, 3:03 p.m. UTC | #1
Hi Oleksii,

On 12/7/24 4:31 PM, Oleksii Kurochko via lists.yoctoproject.org wrote:
> [You don't often get email from oleksii.kurochko=gmail.com@lists.yoctoproject.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> During the fetch process, the following issue occurs:
>   Unable to find revision fdadd93817f124fd0ea6ef251d4a1068b7feceba in branch
>   even from upstream
> 
> This issue arises because the tag next-20240904 and the commit hash
> fdadd93817f124fd0ea6ef251d4a1068b7feceba do not exist. This can be verified
> by running the following commands in
> <yocto>/build/tmp/work-shared/radxa-zero-3e/kernel-source:
>    $ git tag | grep next-20240904
>    $ git branch --contains fdadd93817f124fd0ea6ef251d4a1068b7feceba
>      error: no such commit fdadd93817f124fd0ea6ef251d4a1068b7feceba
> 
> The head commit of v6.11-rc6 is:
>    $ git rev-list -n 1 v6.11-rc6
>      431c1646e1f86b949fa3685efc50b660a364c2b6
> 
> Update the SRCREV to the head commit corresponding to the hash of v6.11-rc6.
> 
> Fixes: 7f91ebf5c17ce ("linux-torvalds-next: bump to next-20240904")
> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
> ---
>   recipes-kernel/linux/linux-torvalds-next_git.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-kernel/linux/linux-torvalds-next_git.bb b/recipes-kernel/linux/linux-torvalds-next_git.bb
> index b961b14..34bb9d7 100644
> --- a/recipes-kernel/linux/linux-torvalds-next_git.bb
> +++ b/recipes-kernel/linux/linux-torvalds-next_git.bb
> @@ -18,7 +18,7 @@ SRC_URI = " \
>          file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta \
>          "
>   # this is tag 'next-20240904'

The comment needs updating now :)

> -SRCREV = "fdadd93817f124fd0ea6ef251d4a1068b7feceba"
> +SRCREV = "431c1646e1f86b949fa3685efc50b660a364c2b6"
> 

OK so I believe this is going to be a forever issue as it seems tags 
older than three months are removed from linux-next.git. I would 
recommend to just switch the kernel tree to 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next-history.git 
where the old next tags seem to still exist, c.f. 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next-history.git/commit/?h=next-20240904&id=fdadd93817f124fd0ea6ef251d4a1068b7feceba

Cheers,
Quentin
Oleksii Kurochko Dec. 10, 2024, 3:45 p.m. UTC | #2
Hi Quentin,

On 12/9/24 4:03 PM, Quentin Schulz wrote:
> Hi Oleksii,
>
> On 12/7/24 4:31 PM, Oleksii Kurochko via lists.yoctoproject.org wrote:
>> [You don't often get email from 
>> oleksii.kurochko=gmail.com@lists.yoctoproject.org. Learn why this is 
>> important at https://aka.ms/LearnAboutSenderIdentification ]
>>
>> During the fetch process, the following issue occurs:
>>   Unable to find revision fdadd93817f124fd0ea6ef251d4a1068b7feceba in 
>> branch
>>   even from upstream
>>
>> This issue arises because the tag next-20240904 and the commit hash
>> fdadd93817f124fd0ea6ef251d4a1068b7feceba do not exist. This can be 
>> verified
>> by running the following commands in
>> <yocto>/build/tmp/work-shared/radxa-zero-3e/kernel-source:
>>    $ git tag | grep next-20240904
>>    $ git branch --contains fdadd93817f124fd0ea6ef251d4a1068b7feceba
>>      error: no such commit fdadd93817f124fd0ea6ef251d4a1068b7feceba
>>
>> The head commit of v6.11-rc6 is:
>>    $ git rev-list -n 1 v6.11-rc6
>>      431c1646e1f86b949fa3685efc50b660a364c2b6
>>
>> Update the SRCREV to the head commit corresponding to the hash of 
>> v6.11-rc6.
>>
>> Fixes: 7f91ebf5c17ce ("linux-torvalds-next: bump to next-20240904")
>> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
>> ---
>>   recipes-kernel/linux/linux-torvalds-next_git.bb | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/recipes-kernel/linux/linux-torvalds-next_git.bb 
>> b/recipes-kernel/linux/linux-torvalds-next_git.bb
>> index b961b14..34bb9d7 100644
>> --- a/recipes-kernel/linux/linux-torvalds-next_git.bb
>> +++ b/recipes-kernel/linux/linux-torvalds-next_git.bb
>> @@ -18,7 +18,7 @@ SRC_URI = " \
>> file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta 
>> \
>>          "
>>   # this is tag 'next-20240904'
>
> The comment needs updating now :)
>
>> -SRCREV = "fdadd93817f124fd0ea6ef251d4a1068b7feceba"
>> +SRCREV = "431c1646e1f86b949fa3685efc50b660a364c2b6"
>>
>
> OK so I believe this is going to be a forever issue as it seems tags 
> older than three months are removed from linux-next.git. I would 
> recommend to just switch the kernel tree to 
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next-history.git 
> where the old next tags seem to still exist, c.f. 
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next-history.git/commit/?h=next-20240904&id=fdadd93817f124fd0ea6ef251d4a1068b7feceba

Switching tohttps://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next-history.git looks good to me. I will send a new patch version.

Thanks for suggestion.

~ Oleksii
diff mbox series

Patch

diff --git a/recipes-kernel/linux/linux-torvalds-next_git.bb b/recipes-kernel/linux/linux-torvalds-next_git.bb
index b961b14..34bb9d7 100644
--- a/recipes-kernel/linux/linux-torvalds-next_git.bb
+++ b/recipes-kernel/linux/linux-torvalds-next_git.bb
@@ -18,7 +18,7 @@  SRC_URI = " \
 	file://rockchip-kmeta;type=kmeta;name=rockchip-kmeta;destsuffix=rockchip-kmeta \
 	"
 # this is tag 'next-20240904'
-SRCREV = "fdadd93817f124fd0ea6ef251d4a1068b7feceba"
+SRCREV = "431c1646e1f86b949fa3685efc50b660a364c2b6"
 
 inherit kernel
 inherit kernel-yocto