1 |
commit: 1837b14d69ed663f62c33ba258b531fd41f8adb7 |
2 |
Author: Sheng Yu <syu.os <AT> protonmail <DOT> com> |
3 |
AuthorDate: Mon Jan 24 01:56:46 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 24 02:07:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=1837b14d |
7 |
|
8 |
quickpkg: check gpg status |
9 |
|
10 |
Closes: https://bugs.gentoo.org/831944 |
11 |
Signed-off-by: Sheng Yu <syu.os <AT> protonmail.com> |
12 |
Closes: https://github.com/gentoo/portage/pull/784 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
bin/quickpkg | 5 +++-- |
16 |
1 file changed, 3 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/bin/quickpkg b/bin/quickpkg |
19 |
index 7733bc833..27dda85ed 100755 |
20 |
--- a/bin/quickpkg |
21 |
+++ b/bin/quickpkg |
22 |
@@ -285,8 +285,9 @@ def quickpkg_main(options, args, eout): |
23 |
portage.settings.features.remove('xattr') |
24 |
portage.settings.lock() |
25 |
|
26 |
- gpg = GPG(portage.settings) |
27 |
- gpg.unlock() |
28 |
+ if portage.settings.get("BINPKG_GPG_SIGNING_KEY", None): |
29 |
+ gpg = GPG(portage.settings) |
30 |
+ gpg.unlock() |
31 |
|
32 |
infos = {} |
33 |
infos["successes"] = [] |