Red Hat Bugzilla – Bug 1266166
RFE: Please write out the .treeinfo "Variant" value to /usr/lib/variant
Last modified: 2015-09-29 11:54:17 EDT
Description of problem:
We discovered a few issues with the fedora-release-$PRODUCT packages and their handling of /usr/lib/os-release. What would be ideal is if we could write a file on disk at install-time that we can use as a basis for which variant os-release file to put into place.
Since we already know the variant we are installing at anaconda installation time (thanks to the .treeinfo file), this would be the optimal place to write out this information for future use.
Version-Release number of selected component (if applicable):
We are requesting this for Fedora 24, as it is far too late in the Fedora 23 cycle for functional changes to the fedora-release methodology.
How would we know what variant is being installed? With the exception of live, a particular boot media is not tied to a particular package source or package set, so the variant being installed would depend on the package environment that the user chooses to install. And if that's the case, why not handle this in fedora-release-*?
I'm closing this out. I have come up with an alternative solution that requires no changes to anaconda. Sorry for the noise.