]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: gitsmy.py: Fix unpack of submodules of submodules
authorMark Hatle <mark.hatle@windriver.com>
Wed, 23 Jan 2019 15:28:18 +0000 (10:28 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Jan 2019 17:45:49 +0000 (17:45 +0000)
commit1979d9162a335b7d4718a6697ca57bfa16237f0e
tree166d38da68350879e5644a9e2ff73392e0381c07
parent9238a725897e8ec18079c46f80edb9f2248133fc
bitbake: gitsmy.py: Fix unpack of submodules of submodules

If the submodule is in a subdirectory, it needs to have that structure
preserved.  This means the unpack path needs to be in the 'dirname' of the
final path -- since the unpack directory name is specified in the URI.

Additional specific test cases were added to ensure this is working properly
based on two recent error reports.

(Bitbake rev: 8c8ecec2a722bc2885e2648d41ac8df07bdf660d)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/gitsm.py
bitbake/lib/bb/tests/fetch.py