[csw-devel] SF.net SVN: gar:[19095] csw/mgar/pkg/lang-python/salt/trunk

Dagobert Michelsen dam at opencsw.org
Wed Sep 5 11:11:06 CEST 2012


Hi Romeo,

Am 04.09.2012 um 22:34 schrieb Romeo Theriault <romeotheriault at opencsw.org>:

> On Tue, Sep 4, 2012 at 7:04 AM, Maciej (Matchek) Bliziński <maciej at opencsw.org> wrote:
> 2012/8/26  <romeotheriault at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/devel/attachments/20120905/36659a26/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2351 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/devel/attachments/20120905/36659a26/attachment.p7s>


More information about the devel mailing list