If we add patch git repository to SRC_URI (e.g. https://github.com/mirror/patch (without the .git suffix) or a local repository /tmp/patch) the bare clone will go to downloads/git2/github.com.patch or downloads/git2/tmp.patch and because the directory ends with '.patch' the do_patch task will assume it's a patch file, try to patch it, end with 'patch: **** read error: Is a directory' error and break the build. To avoid this behaviour I added a conditional to check if the path is a directory.
The following changes since commit 1979d9162a335b7d4718a6697ca57bfa16237f0e: bitbake: gitsmy.py: Fix unpack of submodules of submodules (2019-01-24 17:45:49 +0000) are available in the Git repository at: git://push.yoctoproject.org/poky-contrib dziendzi/patch Tomasz Dziendzielski (1): lib/oe/patch.py: Fix applying a directory as a patch meta/lib/oe/patch.py | 2 ++ 1 file changed, 2 insertions(+) -- 2.19.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core