[SSSD] [PATCH] CI: Preserve mock config timestamps
Nikolai Kondrashov
Nikolai.Kondrashov at redhat.com
Wed Sep 3 14:57:28 UTC 2014
On 09/03/2014 05:48 PM, Lukas Slebodnik wrote:
> On (03/09/14 17:31), Nikolai Kondrashov wrote:
>> On 09/03/2014 05:25 PM, Lukas Slebodnik wrote:
>>> On (03/09/14 17:06), Nikolai Kondrashov wrote:
>>>> On 09/03/2014 04:58 PM, Lukas Slebodnik wrote:
>>>>> On (03/09/14 11:36), Nikolai Kondrashov wrote:
>>>>>> conf_dir=`mktemp --tmpdir --directory mock-config.XXXXXXXX`
>>>>>> trap 'trap - RETURN; rm -R "$conf_dir";' RETURN
>>>>>> - cp -r /etc/mock/* "$conf_dir"/
>>>>> If you agree with my comment from pdifferent thread than you can copy just
>>>>> /etc/mock/default.cfg
>>>>
>>>> Not exactly. There is the /etc/mock/site-defaults.cfg also. I didn't want CI
>>> [build at host mock]$ grep "^[^#]" /etc/mock/site-defaults.cfg | wc -l
>>> 0
>>
>> Well it's not the case when, for example, tmpfs plugin is enabled.
>>
> You modify config anyway in bash function mock_privileged_deps.
> It would not be problem to add another line.
I would like to leave this kind of configuration to local admins as such
optimization is not strictly necessary and depends on the available resources.
Nick
More information about the sssd-devel
mailing list