Class: Getch::Void::Bootloader

Inherits:
Object
  • Object
show all
Defined in:
lib/getch/void/bootloader.rb

Instance Method Summary collapse

Instance Method Details

#dependenciesObject



6
7
8
9
10
# File 'lib/getch/void/bootloader.rb', line 6

def dependencies
  Helpers.efi? ?
    Install.new('grub-x86_64-efi') :
    Install.new('grub')
end

#installObject



12
13
14
15
# File 'lib/getch/void/bootloader.rb', line 12

def install
  Config::Grub.new
  ChrootOutput.new('xbps-reconfigure -fa') # this command also start grub-mkconfig
end