[hyper-bootstrap_v0.3.sh]: fix keyring
This commit is contained in:
parent
06a103ef14
commit
f39327b8c8
@ -217,7 +217,9 @@ configure_keyring() {
|
|||||||
local DEST=$1
|
local DEST=$1
|
||||||
sed -i 's|SigLevel = Never|SigLevel = Required DatabaseOptional|' "$DEST/etc/pacman.conf"
|
sed -i 's|SigLevel = Never|SigLevel = Required DatabaseOptional|' "$DEST/etc/pacman.conf"
|
||||||
LC_ALL=C chroot "$DEST" \
|
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() {
|
show_usage() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user