Re: Implementation of a wild card usage for the uniqueext option

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

 



On Tue, Jul 10, 2007 at 07:09:18PM +0200, Jochen Schmitt wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> nodata schrieb:
> > Am Dienstag, den 10.07.2007, 17:09 +0200 schrieb Jochen Schmitt:
> 
> > 1. avoid wildcards and special characters 2. for hacks like this
> > ("*" is a valid value), have a new option for that, e.g.
> > config_opts['auto-unique-ext']=1
> 
> Thank you for your hints. I have attached a improved version of my patch.

You can already implement this feature without any patch to mock.

In your chroot config file, simply do this:

============
import pwd
config_opts['unique-ext'] = pwd.getpwuid(os.getuid())[0]
============

--
Michael

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux