[CRIU] [PATCH 5/9] build/nmk: simplify try-cc and return true/false

Dmitry Safonov dsafonov at virtuozzo.com
Thu Aug 4 07:52:24 PDT 2016


On 08/04/2016 05:49 PM, Dmitry Safonov wrote:
> - simplify: don't use temporary file -- use /dev/null instead
> - return 'true' or 'false' -- this way we can use it inside rules
> without external call to bash to compare return with 'y', see
> the next patch for a use case.
>
> Cc: Cyrill Gorcunov <gorcunov at openvz.org>
> Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
> ---

Ugh, I forgot to mention -- this patch should be applied only *with*
the next one, which fixes users of try-cc in CRIU.
Separated this one from the next only so it can be easilly applied
to nmk repository.

Thanks, Dima


More information about the CRIU mailing list