Hi Ed, On Friday 20 March 2015 13:22:50 Ed Bartosh wrote: > /etc/SuSE-release should not be parsed to obtain release info > > Here is the quote from /etc/SuSE-release: > /etc/SuSE-release is deprecated and will be removed in the future, > use /etc/os-release instead > > All recent OpenSUSE versions already have /etc/os-release and > oe.lsb/release_dict_file function already parses it. > > Current implementation of release_dict_file returns different values > when parsing /etc/SuSE-release and /etc/os-release. This is one more > advantage of getting rid of parsing /etc/SuSE-release.
How long ago did OpenSuSE start including /etc/os-release? My concern is if someone did happen to run on an older OpenSuSE release and then submit a bug report with an attached log, we'd rather see the actual version rather than "Unknown". If that's a possible scenario, we might want to just swap the blocks around so that /etc/os-release is looked for first. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
