Re: cachedir ignored?
Seth Vidal <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 12 Nov 2009, Paul Howarth wrote: > On Thu, 12 Nov 2009 13:56:36 -0500 (EST) > Seth Vidal <[email protected]> wrote: > >> >> >> On Thu, 12 Nov 2009, James Antill wrote: >> >>> Paul Howarth <[email protected]> writes: >>> >>>> OK, done. >>>> >>>> http://yum.baseurl.org/ticket/337 >>> >>> Thanks. >>> >>>> I considered the symlink approach but didn't like it as I'd need to >>>> manually fix up that symlink every time I do a fresh install on >>>> that system (which I do every time there's a new fedora release), >>>> and the name isn't predictable, which precludes a scripted >>>> approach. So a means of directly configuring the directory name >>>> would be much better. >>> >>> The name can be the same as we just use yum-paul-*, and take the >>> first match, but the symlink thing won't work as we filter out >>> symlinks. Oh well. >> >> Just bind-mount the path into place. >> >> then it's not symlink-y. > > Still suffers from the problem of being an unpredictable name, not good > for an fstab entry or non-root user. > This is not helpful but I given how the cachedir creator works you could just make a dir named: yum-yourusername-foobar and yum will always use that one for as long as the dir exists. -sv