Class: Getch::Void::Bootloader

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

Overview

install grub

Instance Method Summary collapse

Instance Method Details

#dependenciesObject



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

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

#installObject



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

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