On 2 Feb 2025, at 20:06, Gyorgy Sarvari via lists.openembedded.org 
<skandigraun=gmail....@lists.openembedded.org> wrote:
> +do_install:append:class-target() {
> +  # delete lines checking files in bindir, e.g. this:
> +  # list(APPEND _cmake_import_check_files_for_CapnProto::capnp_tool 
> "${_IMPORT_PREFIX}/bin/capnp" )
> +  sed -i "/.*_cmake_import_check_files_for_CapnProto.*bin\/.*/d" 
> ${D}${libdir}/cmake/CapnProto/CapnProtoTargets-noconfig.cmake
> +}

A sed like this is incredibly fragile and will silently stop working if the 
cmake files changes. I recommend using a patch instead, as they fail fast 
instead of silently.

Ross

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

Reply via email to