Re: $rleassever $basearch from where?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 14 May 2013 10:59:52 -0400 (EDT)
Zdenek Pavlas <zpavlas@xxxxxxxxxx> wrote:


> $ python -c 'import yum; yb=yum.YumBase(); print yb.conf.yumvar'
> {'releasever': '17', 'basearch': 'i386', 'arch': 'i686', 'uuid':
> '9e7e68e1-ab25-418e-93ef-1537ad3554ec'}
> 
> yumvar dict is used automatically when parsing *.conf files,
> so it's probably easiest to just define def_local_repo_dir
> there as /var/cache/yum/$releasever/$basearch/...
> 
> You can also use yb.conf.cachedir + '/_local/packages'
> 
Thank you for that,
the last line does look easiest.

-- 
Regards,
Frank - I check for new mail app. 20min
www.frankly3d.com
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux