[Buildroot] [PATCH] pkg-generic: host variant use git submodules if target variant does

Peter Korsgaard peter at korsgaard.com
Mon Jan 18 20:09:16 UTC 2021


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

 > When a package has both a target and a host variant, and uses git
 > submodules, and the host variant is downloaded before the targt one, we
 > end up with the generated archive missing the submodules.

 > This happens in exactly one package in our tree: c-capnproto.

 > Weirdly enough, the issue was not caught until after we changed the way
 > we generate tar archives from git downloads.

 > Propagate the git submodule setting from the target variant to the host
 > variant, unless the host variant explicitly opted-out.

 > Fixes:
 >     http://autobuild.buildroot.org/results/2de9c6c8ce83569d18cc7140ebc60d6fe1aadcbf/

 > Reported-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
 > Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>


Committed to 2020.02.x and 2020.11.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list