[Yum] RPM directory of links

Ian Masterson ian at crow.ee.washington.edu
Tue Aug 20 19:00:55 UTC 2002


Hardlinks work just fine, although being able to use symlinks instead 
would be very nice.

-Ian

On 20 Aug 2002, seth vidal wrote:

> On Tue, 2002-08-20 at 14:51, Andrew Schretter wrote:
> > Seth,
> >    You mentioned that I could use a directory containing links to RPMS
> > and run yum-arch on it to create the header info for that directory.
> > 
> > However, when I tried it, I got :
> > 
> > No rpms to look at. Exiting.
> > 
> > The same yum-arch works fine on the directory actually containing all
> > the RPMS.  I was just testing to see if I could create a subset of those
> > RPMS in another directory via links.
> > 
> 
> 
> whoops - misremembered:
> 
> from serverStuff.py getfilelist()
> 
> # get all the files matching the 3 letter extension that is ext in path,
> recursively
> # store them in append them to list
> # return list
> # ignore symlinks
> 
> yah - and I think I remember why - b/c the path might be outside of that
> basedir - and the basedir is needed to reach the files if symlink
> following is not supported in the http or ftp server.
> 
> 
> a problem worth looking into a bit more. If you make them hardlinks what
> happens?
> 
> -sv
> 
> 
> 
> 





More information about the Yum mailing list