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