Class: Getch::Gentoo::Tarball

Inherits:
Object
  • Object
show all
Defined in:
lib/getch/gentoo/tarball.rb

Instance Method Summary collapse

Constructor Details

#initializeTarball

Returns a new instance of Tarball.



9
10
11
12
13
14
15
16
# File 'lib/getch/gentoo/tarball.rb', line 9

def initialize
  @log = Log.new
  @mirror = 'https://mirror.rackspace.com/gentoo'
  @release = release
  @stage_file = OPTIONS[:musl] ?
    "stage3-amd64-musl-#{@release}.tar.xz" :
    "stage3-amd64-systemd-#{@release}.tar.xz"
end

Instance Method Details

#xObject



18
19
20
21
22
23
# File 'lib/getch/gentoo/tarball.rb', line 18

def x
  get_stage3
  control_files
  checksum
  install
end