On Wed Jun 10, 2026 at 2:32 PM CEST, Frieder Schrempf wrote:
> Hi Yoann,
>
> On 21.05.26 10:23, Yoann Congal wrote:
>> On Wed May 13, 2026 at 12:41 PM CEST, Frieder Schrempf wrote:
>>> Hi Yoann,
>>>
>>> On 24.03.26 00:19, Enrico Jörns via lists.openembedded.org wrote:
>>>> Running 'devtool modify -n' on a kernel recipe that inherits
>>>> 'kernel-yocto' can unintentionally corrupt an existing Git repo or
>>>> worktree.
>>>>
>>>> The work-shared optimization introduced in 3c3a9bae ("devtool/standard.py:
>>>> Update devtool modify to copy source from work-shared if its already
>>>> downloaded") is not skipped when '--no-extract' ('args.no_extract') is set.
>>>>
>>>> As a result, for kernel builds where STAGING_KERNEL_DIR was already
>>>> populated when running 'devtool modify -n', the existing source tree is
>>>> overwritten (via oe.path.copyhardlinktree()) with the contents of
>>>> STAGING_KERNEL_DIR.
>>>>
>>>> Fix by adding 'and not args.no_extract' to the kernel-yocto guard
>>>> condition.
>>>>
>>>> Signed-off-by: Enrico Jörns <[email protected]>
>>>
>>> Can you please pick this devtool fix from the following upstream commit
>>> to stable branches scarthgap and kirkstone?
>>>
>>> d383ea37e4 ("devtool: prevent 'devtool modify -n' from corrupting kernel
>>> Git repos")
>>
>> Hello,
>>
>> I've added it to my scarthgap review branch.
>>
>> Thanks!
> I'm not seeing this in your latest scarthgap patch review. Am I missing
> something?
No, I did, sorry: I simply lost this patch.
I've re-added it to the queue, it should be in either the next one or
the one after that.
Thanks for the ping,
Regards,
>
> Thanks
> Frieder
--
Yoann Congal
Smile ECS
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#238358):
https://lists.openembedded.org/g/openembedded-core/message/238358
Mute This Topic: https://lists.openembedded.org/mt/118475635/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-