Dne 04. 03. 19 v 7:36 Richard W.M. Jones napsal(a): > Why is the --setopt parameter needed? Couldn't that be based on > $releasever? For the record - we are speaking about: --setopt=module_platform_id=platform:f30 I spoke to DNF team and: * there is no definition of platform_id * while it seams that it can be constructed from $RELEASEVER, there is no guarantee that it will be this way in future (even soft gurantee, i.e. there is no documentation) * it is only defined that module_platform_id is derived from PLATFORM_ID from /etc/os-release * that package we get only after upgrade * but for the upgrade we need new PLATFORM_ID * DNF cannot construct it, because the construction method is not defined ... and circle is closed. So yes, we need it until there will be documentation how to derive PLATFORM_ID of (next) release. Miroslav _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx