Sha256: 6a9bba92b82b9c5b5b58dfff7a743274b85d206fcd5c536b8c61dc610386b957
Contents?: true
Size: 759 Bytes
Versions: 18
Compression:
Stored size: 759 Bytes
Contents
module VagrantVbguest module Installers class Archlinux < Linux def self.match?(vm) :arch == self.distro(vm) end # Install missing deps and yield up to regular linux installation def install(opts=nil, &block) # Update the package list communicate.sudo("pacman -Sy", opts, &block) # Install the dependencies communicate.sudo(install_dependencies_cmd, opts, &block) super end protected def install_dependencies_cmd "pacman -S #{dependencies} --noconfirm --needed" end def dependencies ['gcc', 'dkms', 'make', 'bzip2'].join(' ') end end end end VagrantVbguest::Installer.register(VagrantVbguest::Installers::Archlinux, 5)
Version data entries
18 entries across 18 versions & 1 rubygems