We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57540f3 commit 3e318e6Copy full SHA for 3e318e6
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 pierre@archlinux.de
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
@@ -346,6 +358,7 @@ done
346
358
shift $((OPTIND-1))
347
359
348
360
check_root
361
+init_gnupg
349
362
test -d "$BUILDDIRECTORY"/root || get_bootstrap_img
350
363
init_chroot
351
364
cmd_check "$@"
0 commit comments