Bootloader installation and configuration |
modules/Initrd.ycp |
functions for initial ramdisk setup and creation | |
|
|
This module has an unstable interface. |
Imports
Global VariablesGlobal Functions
Local Variables |
List of modules for Initrd
For each of modules - true if should be inserted to initrd, false otherwise. Used to keep order from first-stage installation
List of modules that were in sysconfig file when reading settings
map of settings for modules for being contained in initrd
true if settings were changed and initrd needs to be rebuilt, false otherwise
true if settings were already read, flase otherwise
parametr for mkinitrd because of splash screen used for choosing right size of splash
List of modules which should be not added/removed to/from initrd
List of fallback vga modes to be used when hwinfo --framebuffer doesn't return any value
Get the list of modules which don't belong to initrd Initialize the list if was not initialized before according to the architecture
- Return value:
-
a list of modules
reset settings to empty list of modules
read seettings from sysconfig
- Return value:
-
true on success
List modules included in initrd
- Return value:
-
of strings with modulenames
add module to ramdisk
- Parameters:
-
modname name of module modargs arguments to be passes to module
Export settigs to variable
- Return value:
-
of initrd settings
import settings of initrd
- Parameters:
-
settings map of initrd settings
remove module from list of initrd modules
- Parameters:
-
modname string name of module to remove
Update read settings to new version of configuration files
Display error popup with log FIXME this is copy-paste from ../routines/popups.ycp
- Parameters:
-
header string error header log string logfile contents
write settings to sysconfig, rebuild initrd images
- Return value:
-
true on success
Set the -s parameter of mkinitrd
- Parameters:
-
vga string the vga kernel parameter