aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-03-08 22:31:54 -0500
committerJesús <heckyel@hyperbola.info>2021-03-08 22:31:54 -0500
commitf39327b8c80a1e41e162871fe0c31f1fd9a2222f (patch)
tree57addbf579231fa48a95c78e8cd8bde7430120f8
parent06a103ef143f14d7be637a8f1265ac67011f2e70 (diff)
downloadhyperbola-bootstrap-f39327b8c80a1e41e162871fe0c31f1fd9a2222f.tar.lz
hyperbola-bootstrap-f39327b8c80a1e41e162871fe0c31f1fd9a2222f.tar.xz
hyperbola-bootstrap-f39327b8c80a1e41e162871fe0c31f1fd9a2222f.zip
[hyper-bootstrap_v0.3.sh]: fix keyring
-rwxr-xr-xhyper-bootstrap_v0.3.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/hyper-bootstrap_v0.3.sh b/hyper-bootstrap_v0.3.sh
index bbd4460..a8f3595 100755
--- a/hyper-bootstrap_v0.3.sh
+++ b/hyper-bootstrap_v0.3.sh
@@ -217,7 +217,9 @@ configure_keyring() {
local DEST=$1
sed -i 's|SigLevel = Never|SigLevel = Required DatabaseOptional|' "$DEST/etc/pacman.conf"
LC_ALL=C chroot "$DEST" \
- /usr/bin/pacman-key --init && /usr/bin/pacman-key --populate hyperbola
+ /usr/bin/pacman-key --init && /usr/bin/pacman-key --populate archlinux hyperbola \
+ && /usr/bin/pacman-key --refresh-keys \
+ && /usr/bin/pacman -Sy hyperbola-keyring --noconfirm
}
show_usage() {