Hi Alex,

On 6/17/26 00:09, Alexander Kanavin wrote:
On Tue, 16 Jun 2026 at 17:51, Robert Yang via lists.openembedded.org
<[email protected]> wrote:
+# To help "devtool finish" can add 
0001-Ignore-pwritev-pwrite64-tests-on-musl.patch
+# into strace/strace rather than strace/files.
+FILESPATH .= ":${FILE_DIRNAME}/${BPN}"

I'm afraid I have to disagree with this. Devtool does have support for
conditional patches as seen here:

====
alex@Zen2:/srv/storage/alex/yocto/build-riscv64$ devtool modify strace
...
INFO: SRC_URI contains some conditional appends/prepends - will create
branches to represent these
...
WARNING: SRC_URI is conditionally overridden in this recipe, thus
several devtool-override-* branches have been created, one for each
override that makes changes to SRC_URI. It is recommended that you
make changes to the devtool branch first, then checkout and rebase
each devtool-override-* branch and update any unique patches there
(duplicates on those branches will be ignored by devtool
finish/update-recipe)

The problem is that "devtool upgrade" doesn't copy the overridden patch
to workspace because it is not in SRC_URI, I'm trying to see how to make it copy
that.

// Robert

...

alex@Zen2:/srv/storage/alex/yocto/build-riscv64/workspace/sources/strace$
git branch
* devtool
   devtool-no-overrides
   devtool-override-libc-musl
   master
====

so this strace issue is hitting a bug in that conditional patch
support. Rather, it should be investigated why is devtool writing out
a duplicate of the patch to a different location on 'finish'
operation.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#239038): 
https://lists.openembedded.org/g/openembedded-core/message/239038
Mute This Topic: https://lists.openembedded.org/mt/119835699/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to