Module: Getch::Gentoo
- Defined in:
- lib/getch/gentoo.rb,
lib/getch/gentoo/stage.rb,
lib/getch/gentoo/chroot.rb,
lib/getch/gentoo/config.rb
Defined Under Namespace
Classes: Chroot, Config, Stage
Class Method Summary
collapse
Class Method Details
.chroot ⇒ Object
36
37
38
39
40
41
42
|
# File 'lib/getch/gentoo.rb', line 36
def chroot
chroot = Getch::Gentoo::Chroot.new()
chroot.update
chroot.world
chroot.systemd
chroot.kernel
end
|
.config(options) ⇒ Object
24
25
26
27
28
29
30
31
32
33
34
|
# File 'lib/getch/gentoo.rb', line 24
def config(options)
return if STATES[:gentoo_config]
new
config = Getch::Gentoo::Config.new()
config.portage
config.portage_fs
config.repo
config.network
config.systemd(options)
@state.config
end
|
.new ⇒ Object
10
11
12
|
# File 'lib/getch/gentoo.rb', line 10
def new
@state = Getch::States.new()
end
|
.stage3 ⇒ Object
14
15
16
17
18
19
20
21
22
|
# File 'lib/getch/gentoo.rb', line 14
def stage3
return if STATES[:gentoo_base]
new
stage = Getch::Gentoo::Stage.new()
stage.get_stage3
stage.control_files
stage.checksum
@state.stage3
end
|