Hi Romeo,

Am 04.09.2012 um 22:34 schrieb Romeo Theriault <romeotheria...@opencsw.org>:

> On Tue, Sep 4, 2012 at 7:04 AM, Maciej (Matchek) BliziƄski 
> <mac...@opencsw.org> wrote:
> 2012/8/26  <romeotheria...@users.sourceforge.net>:
> > +CHECKPKG_OVERRIDES_CSWpy-salt += 
> > file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/salt/states/pkgng.py
> > +CHECKPKG_OVERRIDES_CSWpy-salt += 
> > file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/salt/modules/pkgng.py
> > +CHECKPKG_OVERRIDES_CSWpy-salt += 
> > file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/salt/modules/poudriere.py
> > +CHECKPKG_OVERRIDES_CSWpy-salt += 
> > file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/salt/modules/cassandra.py
> 
> Instead of all these specific overrides, you can add one general one:
> 
> CHECKPKG_OVERRIDES_CSWpy-salt += file-with-bad-content
> 
> It will apply to all files in the package.
> 
> Ahh, cool! Great to know. Thanks.

I suggest to also add a comment why it is safe to override, like
  # The occurrences of /usr/local are in example sections only
or such.


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
devel mailing list
devel@lists.opencsw.org
https://lists.opencsw.org/mailman/listinfo/devel

Reply via email to