mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
The DB upgrade must be done after key initialization
This commit is contained in:
parent
20cbbcafc7
commit
b8244d24ea
1 changed files with 4 additions and 4 deletions
|
@ -3380,14 +3380,14 @@ install_amazon_linux_ami_testing_post() {
|
|||
#
|
||||
install_arch_linux_stable_deps() {
|
||||
|
||||
if [ "$(which pacman-db-upgrade)" != "" ]; then
|
||||
pacman-db-upgrade || return 1
|
||||
fi
|
||||
|
||||
if [ ! -f /etc/pacman.d/gnupg ]; then
|
||||
pacman-key --init && pacman-key --populate archlinux || return 1
|
||||
fi
|
||||
|
||||
if [ "$(which pacman-db-upgrade)" != "" ]; then
|
||||
pacman-db-upgrade || return 1
|
||||
fi
|
||||
|
||||
if [ "$_UPGRADE_SYS" -eq $BS_TRUE ]; then
|
||||
pacman -Syyu --noconfirm --needed || return 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue