Ok,
I found the problem. When I run yum --installroot= , the baseurl from my repos are the stock http://mirror.centos.org/centos/$releasever/os/$basearch

Yum is seeing the $releasever variable as "Null" If I change the "$releasever" to "4.3" in my /etc/yum.repos.d/CentOS-Base.repo it works fine.

So the question now is, how is the $releasever variable created/passed?

Roy Vestal wrote:
I'm trying to build a live CentOS4.3 livecd. I'm following the directions from: http://www.byteclub.net/wiki/CentOS_Live .
I'm told to copy my yum.conf to my livecd dir and the run yum
-c /path/to/yum.conf --installroot=/path install pkgs. When I
do this, i get "Null is not a valid release..." error. If I
run yum install pkgs it works fine. just when I do
--installroot= to alter the path to install. ideas?
--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/

Reply via email to