class Getch::Void::Main

Public Class Methods

new() click to toggle source
# File lib/getch/void.rb, line 10
def initialize
  @state = Getch::States.new()
end

Public Instance Methods

boot() click to toggle source
# File lib/getch/void.rb, line 48
def boot
  boot = Getch::Void::Boot.new
  boot.new_user
  boot.fstab
  boot.dracut
  boot.grub
  boot.initramfs
  boot.finish
end
chroot() click to toggle source
# File lib/getch/void.rb, line 33
def chroot
  return if STATES[:gentoo_kernel]
  chroot = Getch::Void::Chroot.new
  chroot.update
  chroot.fs
  chroot.extras
  chroot.install_pkgs
end
config() click to toggle source
# File lib/getch/void.rb, line 23
def config
  return if STATES[:gentoo_config]
  config = Getch::Void::Config.new
  config.host
  config.network
  config.system
  config.locale
  @state.config
end
kernel() click to toggle source
# File lib/getch/void.rb, line 42
def kernel
  return if STATES[:gentoo_kernel]
  Getch::Void::Sources.new
  @state.kernel
end
root_fs() click to toggle source
# File lib/getch/void.rb, line 14
def root_fs
  return if STATES[:gentoo_base]
  xbps = Getch::Void::RootFS.new
  xbps.search_archive
  xbps.download
  xbps.checksum
  @state.stage3
end