]> code.ossystems Code Review - openembedded-core.git/commit
gpg_sign: depress the owership warnings on homedir
authorJia Zhang <lans.zhang2008@gmail.com>
Thu, 24 Aug 2017 03:24:28 +0000 (11:24 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Aug 2017 08:34:08 +0000 (09:34 +0100)
commit0a740aa6f02deada56e0b7deb2bc1f7401e58726
treecceb1e52960046b8c66b5bcfd8acdbd775e2ace3
parent92b4e043e9e2125105c697be2d0f75b3f01f91b1
gpg_sign: depress the owership warnings on homedir

A gpg command, e.g, called by get_gpg_version(), may trigger such a warning:
gpg: WARNING: unsafe ownership on homedir '/home/user/.gnupg'

This sort of warning is harmless so it can be depressed through specifying
--no-permission-warning.

Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/gpg_sign.py