I used devtool upgrade util-linux and generated the directory of util-linux 
under the build directory.
However, because it’s failed to apply the patch, it only modified 
SRC_URI[sha256sum] in the final recipe.
Therefore, when I encounter OSS that cannot be automatically updated, I modify 
the patch manually.
Is my usage of devtool upgrade wrong?

  --
Best Regards
---------------------------------------------------
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, 
Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: wan...@fujitsu.com<mailto:wan...@fujitsu.com>
http://www.fujitsu.com/cn/fnst/

From: Alexander Kanavin <alex.kana...@gmail.com>
Sent: Monday, June 14, 2021 8:07 PM
To: Wang, Mingyu/王 鸣瑜 <wan...@fujitsu.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>; Richard Purdie 
<richard.pur...@linuxfoundation.org>
Subject: Re: [OE-core] [PATCH] util-linux: upgrade 2.36.2 -> 2.37

On Fri, 4 Jun 2021 at 00:55, Richard Purdie 
<richard.pur...@linuxfoundation.org<mailto:richard.pur...@linuxfoundation.org>> 
wrote:
On Thu, 2021-06-03 at 15:13 +0800, wangmy wrote:
> avoid_parallel_tests.patch
> Automake-use-EXTRA_LTLIBRARIES-instead-of-noinst_LTL.patch
> removed since they are included in 2.37
>
> Signed-off-by: Wang Mingyu <wan...@fujitsu.com<mailto:wan...@fujitsu.com>>
> ---
>  ...d_2.36.2.bb<http://d_2.36.2.bb> => 
> util-linux-libuuid_2.37.bb<http://util-linux-libuuid_2.37.bb>} |  0
>  meta/recipes-core/util-linux/util-linux.inc   |  4 +-
>  ...RA_LTLIBRARIES-instead-of-noinst_LTL.patch | 49 -------------------
>  .../util-linux/avoid_parallel_tests.patch     | 20 --------
>  ...til-linux_2.36.2.bb<http://til-linux_2.36.2.bb> => 
> util-linux_2.37.bb<http://util-linux_2.37.bb>} |  0
>  5 files changed, 1 insertion(+), 72 deletions(-)
>  rename 
> meta/recipes-core/util-linux/{util-linux-libuuid_2.36.2.bb<http://util-linux-libuuid_2.36.2.bb>
>  => util-linux-libuuid_2.37.bb<http://util-linux-libuuid_2.37.bb>} (100%)
>  delete mode 100644 
> meta/recipes-core/util-linux/util-linux/Automake-use-EXTRA_LTLIBRARIES-instead-of-noinst_LTL.patch
>  delete mode 100644 
> meta/recipes-core/util-linux/util-linux/avoid_parallel_tests.patch
>  rename 
> meta/recipes-core/util-linux/{util-linux_2.36.2.bb<http://util-linux_2.36.2.bb>
>  => util-linux_2.37.bb<http://util-linux_2.37.bb>} (100%)

This threw warnings on the autobuilder:

https://autobuilder.yoctoproject.org/typhoon/#/builders/15/builds/3794

I aborted the build run.

I have to once again note that the best way to avoid patch fuzz and incorrect 
rebasing (in this case,  avoid_parallel_tests.patch was dropped even though it 
is *not* included in 2.37) is to use 'devtool upgrade'. Can you please explain 
why you are doing manual work instead which causes those issues?

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#152950): 
https://lists.openembedded.org/g/openembedded-core/message/152950
Mute This Topic: https://lists.openembedded.org/mt/83278495/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to