archiver.bbclass: Fix patch error for recipes that inherit dos2unix.
PATCH 1/1 archiver.bbclass: Fix patch error for recipes that inherit dos2unix.
do_unpack_and_patch error happens for these recipes inherit dos2unix.
Signed-off-by Lei Maohui <[email protected]>
--- meta/classes/archiver.bbclass | 3 +++ 1 file changed, 3 insertions(+)
meta/classes/archiver.bbclass +3 -0
@@ -483,6 +483,9 @@ python do_unpack_and_patch() { src_orig = '%s.orig' % src oe.path.copytree(src, src_orig) + if bb.data.inherits_class('dos2unix', d): + bb.build.exec_func('do_convert_crlf_to_lf', d) + # Make sure gcc and kernel sources are patched only once if not (d.getVar('SRC_URI') == "" or is_work_shared(d)): bb.build.exec_func('do_patch', d)
Signature · 1 line
2.25.1