Question about fetching git URI with protocol=https

Vuille, Martin (Martin) <vmartin@...>

Poky Daisy 1.6.1


I have a recipe that must fetch from a git repo using https. I have specified

“;protocol=https” in the SRC_URI.


The fetch task for this recipe is failing with:


                ERROR: Fetcher failure: Fetch command failed with exit code 128, output:

                Cloning into bare repository '<path>'...

                fatal: unable to access '<URL>': error setting certificate verify locations:

                  CAfile: <path>/poky/build/tmp/sysroots/x86_64-linux/etc/ssl/certs/ca-certificates.crt

                  CApath: none


which I understand to be a curl error and, indeed, there is no such file.


It is my understanding that this file should be created by building the ca-certificates package.


The build is running on Ubuntu 12.04, so a git-native was built in the

development tools, as well as a curl-native. The curl recipe has an RRECOMMENDS

for ca-certificates, but that package does not show up in “bitbake –g” and is

not being built. Hence the file not being present in the sysroot.


I would appreciate some guidance as to what is missing/how I can resolve

this issue. I don’t want these certificates to show up in the target images or

in the SDK, I only need them to fetch for building.




Join { to automatically receive all group messages.