Re: Re: Desired bahaviour of $releasever when using --installroot

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1188480075.27085.214.camel@cutter>
On Thu, 2007-08-30 at 15:19 +0200, Alexander Todorov wrote:
> Rex Dieter wrote:
> > Alexander Todorov wrote:
> > 
> >> I am using the --installroot option and noticed something strange.
> >> The baseurl in my .repo file contains both $releasever and $basearch.
> >> When using with --installroot $releasever is translated to "Null" not
> > 
> > Does your installroot already include the 'redhat-release' pkg (or whatever
> > is referenced as distroverpkg in your yum.conf)? 
> 
> No, it's an empty directory.
> So distroverpkg is the requirement for that to work properly?
> 

yes - that's where yum gets that variable from.

you need a package which provides whatever distroverpkg is set to in
your yum.conf.

it defaults to redhat-release b/c redhat-release is provided by:
fedora-release, centos-release, etc, etc

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.