Description of problem: When trying to produce Mageia containers for alternative architectures, we need to use repos using --repofrompath. However, since --repofrompath doesn't have an optional third argument for setting gpgkey file path, installs fail because it can't verify package signatures. Version-Release number of selected component (if applicable): 4.2.1-1.fc31 How reproducible: Always Steps to Reproduce: 1. Clone https://github.com/juanluisbaptiste/docker-brew-mageia 2. Run mkimage-dnf.sh --rootfs=/code/6/ --version=6 -a armv7hl --mirror=http://distro.ibiblio.org/pub/linux/distributions/mageia/distrib/6/armv7hl Actual results: Installation fails due to being unable to validate signatures Expected results: --repofrompath takes three parameters, and the last one is the gpgkey, and makes it so that it can validate and install successfully.
I created a patch (https://github.com/rpm-software-management/dnf/pull/1357) that allows adjustments of configurations using --setopt=<repo>.<option>=value syntax.
dnf-4.2.2-1.fc30 librepo-1.9.6-1.fc30 libdnf-0.28.1-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b504d6ad8f
dnf-4.2.2-1.fc29 librepo-1.9.6-1.fc29 libdnf-0.28.1-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7fbfa37585
dnf-4.2.2-1.fc30, libdnf-0.28.1-1.fc30, librepo-1.9.6-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-b504d6ad8f
dnf-4.2.2-1.fc29, libdnf-0.28.1-1.fc29, librepo-1.9.6-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7fbfa37585
dnf-4.2.2-1.fc30, libdnf-0.28.1-1.fc30, librepo-1.9.6-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
dnf-4.2.2-1.fc29, libdnf-0.28.1-1.fc29, librepo-1.9.6-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.