Merge branch 'patch-1' into 'master'
Pass --needed when installing pkgs with pacman See merge request drizzt/vps2arch!50
This commit is contained in:
commit
d99769e0b0
1 changed files with 2 additions and 2 deletions
4
vps2arch
4
vps2arch
|
@ -87,11 +87,11 @@ configure_chroot() {
|
|||
if ! is_openvz && ! pidof haveged >/dev/null; then
|
||||
# Disable signature check, install and launch haveged and re-enable signature checks.
|
||||
sed -i.bak "s/^[[:space:]]*SigLevel[[:space:]]*=.*$/SigLevel = Never/" "/root.$cpu_type/etc/pacman.conf"
|
||||
chroot_exec 'pacman --noconfirm -Sy haveged && haveged'
|
||||
chroot_exec 'pacman --needed --noconfirm -Sy haveged && haveged'
|
||||
mv "/root.$cpu_type/etc/pacman.conf.bak" "/root.$cpu_type/etc/pacman.conf"
|
||||
fi
|
||||
chroot_exec 'pacman-key --init && pacman-key --populate archlinux'
|
||||
chroot_exec 'pacman --noconfirm -Sy awk'
|
||||
chroot_exec 'pacman --needed --noconfirm -Sy awk'
|
||||
# Generate fstab
|
||||
chroot_exec 'genfstab /mnt >> /etc/fstab'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue