Is there a clean way for waf to test for the distro?

Richard Laager rlaager at wiktel.com
Sun Feb 23 05:05:06 UTC 2020


On 2/22/20 6:15 PM, Hal Murray via devel wrote:
> Context is the seccomp tangle.  Issue #633
> 
> Should I just add a helper that looks in /etc/os-release?

Are you really, absolutely, positively sure that you can't check for the
feature itself directly. If you start going down the distro-checking
path, things get very messy, very fast. For example, is "Linux Mint"
like Ubuntu?

-- 
Richard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20200222/49dc9f0c/attachment.bin>


More information about the devel mailing list