We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e878c4 + 3e318e6 commit cfc30faCopy full SHA for cfc30fa
repro.in
@@ -28,6 +28,18 @@ function check_root() {
28
fi
29
}
30
31
+# Use a private gpg keyring
32
+function gpg() {
33
+ command gpg --homedir="$BUILDDIRECTORY/gnupg" "$@"
34
+}
35
+
36
+function init_gnupg() {
37
+ [ ! -d "$BUILDDIRECTORY/gnupg" ] && mkdir -p "$BUILDDIRECTORY/gnupg"
38
39
+ # ensure signing key is available
40
+ gpg --auto-key-locate nodefault,wkd --locate-keys [email protected]
41
42
43
# Desc: Sets the appropriate colors for output
44
function colorize() {
45
# prefer terminal safe colored and bold text when tput is supported
@@ -347,6 +359,7 @@ done
347
359
shift $((OPTIND-1))
348
360
349
361
check_root
362
+init_gnupg
350
363
test -d "$BUILDDIRECTORY"/root || get_bootstrap_img
351
364
init_chroot
352
365
cmd_check "$@"
0 commit comments