tarakbumba / zeynep

RPM packages build tool in a clean Mageia chroot environment for Mageia Linux distribution
GNU General Public License v2.0
2 stars 0 forks source link

Add support for using DNF (package manager) and createrepo_c (repodata creation tool) #14

Open Conan-Kudo opened 7 years ago

Conan-Kudo commented 7 years ago

With Mageia 6, the DNF package manager and RPM-MD repodata is supported.

Please consider adding support for DNF (for where urpmi is used) and createrepo_c (for where genhdlist2 is used).

At least as of DNF 2.6.2 (which is pending as an update for Mageia 6), you'll also be able to build packages for foreign architectures (armv7hl on x86_64 as an example) without much work. The methodology is documented in the Mageia wiki.

This would greatly benefit your tool by enabling broader package build capabilities and allowing you to support Fedora along with Mageia (if you wish).

Conan-Kudo commented 7 years ago

As an example, here's the script used to use DNF to build Mageia Docker images.

tarakbumba commented 7 years ago

Thank you for reminding this.I'll look into it asap.

Conan-Kudo commented 7 years ago

The new version of DNF was rolled out a while back and I forgot to mention it here, so here I am mentioning it. Check it out! :)