On Mon, 2005-07-11 at 17:45 -0600, Greg Knaddison wrote: > On 7/11/05, seth vidal <skvidal@xxxxxxxxxxxx> wrote: > > On Mon, 2005-07-11 at 16:09 -0500, Matt Lawrence wrote: > > > I have created a local yum.conf file to use for building a virtual disk > > > image for qemu. I've now run into the problem that yum apparently still > > > try to look at the configuration files in /etc/yum.repos.d. This is a > > > problem, I want to yum to only look at /qemu/yum.conf.CentOS4 (currently). > > > > > > Help? > > > > > > > in your local yum.conf under [main] set > > reposdir=/dev/null > > Woah I missed how/why this is needed - any chance at a rule here for > the man or FAQ pages? "If doing a --installroot installation you need > a reposdir=/dev/null" or something like that? > well in some cases you do - but not in every case. sometimes you want it to use the reposdirs of the host system. -sv