Class: Getch::Gentoo::Tarball
- Inherits:
-
Object
- Object
- Getch::Gentoo::Tarball
- Defined in:
- lib/getch/gentoo/tarball.rb
Overview
Download the last archive rootfs
Instance Method Summary collapse
-
#initialize ⇒ Tarball
constructor
A new instance of Tarball.
- #x ⇒ Object
Constructor Details
#initialize ⇒ Tarball
Returns a new instance of Tarball.
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/getch/gentoo/tarball.rb', line 10 def initialize @log = Log.new @mirror = 'https://mirror.rackspace.com/gentoo' @release = release @stage_file = if OPTIONS[:musl] "stage3-amd64-musl-#{@release}.tar.xz" else "stage3-amd64-systemd-#{@release}.tar.xz" end end |
Instance Method Details
#x ⇒ Object
21 22 23 24 25 26 |
# File 'lib/getch/gentoo/tarball.rb', line 21 def x get_stage3 control_files checksum install end |