Class: Bootloader::Kexec
- Inherits:
-
Object
- Object
- Bootloader::Kexec
- Includes:
- Yast::Logger
- Defined in:
- src/lib/bootloader/kexec.rb
Overview
Task of class is to allow preparation for running kexec at the end of installation. It also decide if environment is not suitable for kexec.
Instance Method Summary collapse
-
#initialize ⇒ Kexec
constructor
A new instance of Kexec.
-
#prepare_environment ⇒ Object
Prepares environment for kexec.
Constructor Details
Instance Method Details
#prepare_environment ⇒ Object
Prepares environment for kexec
21 22 23 24 25 26 |
# File 'src/lib/bootloader/kexec.rb', line 21 def prepare_environment log.info "CopyKernelInird: start copy kernel and inird" return false unless proper_environment? copy_kernel end |