[Yum-devel] [PATCH] add variable $distroname to config (updated)

Michael Stenner mstenner at linux.duke.edu
Tue Aug 29 00:51:35 UTC 2006


On Mon, Aug 28, 2006 at 08:24:38PM -0400, Matthew Miller wrote:
> On Tue, Aug 29, 2006 at 12:48:26AM +0200, Bastiaan Bakker wrote:
> [...]
> > yum's config. By default $distroname will contain 'fedora' (to align with
> > distroverpkg), but that can be modified with the option. Primary purpose
> [...]
> > Please let me know whether this patch or a similar one is acceptable for
> > merging.
> 
> I can't speak to whether or not it will be acceptable, but it seems like a
> bad idea. Since there's no standard way of determining this, it makes
> yum.conf have to be the authoritative "What is the name of my distro?"
> source, and yum.conf doesn't seem to be the right config file for that.

There's lsb_release, which is pretty standard.

						-Michael
-- 
  Michael D. Stenner                            mstenner at ece.arizona.edu
  ECE Department and Optical Sciences Center                520-626-1619
  University of Arizona                                         ECE 524G



More information about the Yum-devel mailing list