For the recipes inheriting dos2unix, do_patch will fail if do_convert_crlf_to_lf not run before it.
Signed-off-by: Ming Liu <liu.min...@gmail.com> --- meta/classes/create-spdx.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-spdx.bbclass index 349ecfe6ab..26d586744e 100644 --- a/meta/classes/create-spdx.bbclass +++ b/meta/classes/create-spdx.bbclass @@ -810,6 +810,8 @@ def spdx_get_src(d): # Make sure gcc and kernel sources are patched only once if not (d.getVar('SRC_URI') == "" or is_work_shared_spdx(d)): + if bb.data.inherits_class('dos2unix', d): + bb.build.exec_func('do_convert_crlf_to_lf', d) bb.build.exec_func('do_patch', d) # Some userland has no source. -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#209416): https://lists.openembedded.org/g/openembedded-core/message/209416 Mute This Topic: https://lists.openembedded.org/mt/110437432/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-