Class: Getch::Void::Bootloader
- Inherits:
-
Object
- Object
- Getch::Void::Bootloader
- Defined in:
- lib/getch/void/bootloader.rb
Overview
install grub
Instance Method Summary collapse
Instance Method Details
#dependencies ⇒ Object
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 |
#install ⇒ Object
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 |