Re: [yocto] Native curl and SSL CA certificates

2018-05-10 Thread Iván Castell
Ok that's already fixed. I could manage it executing this in host machine after building the image: $ bitbake package-index 2018-05-10 16:01 GMT+02:00 Iván Castell : > Once the image was build and cloned into the target device, this error > appears when trying to

Re: [yocto] Native curl and SSL CA certificates

2018-05-10 Thread Iván Castell
Once the image was build and cloned into the target device, this error appears when trying to update dnf database from target device: $ dnf clean all $ dnf update DNF version: 2.7.5 cachedir: /var/cache/dnf repo oe-remote-repo: 0x6235C65BD7C1F0D8 already imported Cannot

Re: [yocto] Native curl and SSL CA certificates

2018-05-09 Thread Iván Castell
Thank you very much for your explanation Mr. Alexander, it was really helpfull to understand my issue. I fixed it removing completely my dnf bbappend recipe from my custom layer and adding this variable to my distro.conf file: PACKAGE_FEED_URIS = "https://storage.googleapis.com/my_repo/;

Re: [yocto] Native curl and SSL CA certificates

2018-05-09 Thread Alexander Kanavin
On 05/09/2018 09:29 AM, Iván Castell wrote: But I am not fetching nor installing packages over the network during image creation. I just build an image using local recipes (standard procedure). One of those local recipes sets up a remote repository for rpm packages (adding

Re: [yocto] Native curl and SSL CA certificates

2018-05-09 Thread Iván Castell
Just to provide all the details, this is the bbappend I add to my custom layer: $ cat recipes-devtools/dnf/dnf_%.bbappend FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI += " \ file://yocto-adv-rpm.repo \ " do_install_append () { install -d ${D}/etc/yum.repos.d install -m

Re: [yocto] Native curl and SSL CA certificates

2018-05-09 Thread Iván Castell
But I am not fetching nor installing packages over the network during image creation. I just build an image using local recipes (standard procedure). One of those local recipes sets up a remote repository for rpm packages (adding /etc/yum.repos.d/yocto-adv-rpm.repo to the final image). The purpose

Re: [yocto] Native curl and SSL CA certificates

2018-05-08 Thread Alexander Kanavin
On 05/08/2018 05:55 PM, Iván Castell wrote: Is this a bug related with curl or ca-certificates recipe? What should be the right way to fix it? Fetching and installing packages over the network during image creation is not supported or tested in YP. You need to build them locally, with