Bootloader installation and configuration
|
include/bootloader/routines/convert.ycp
|
|
Functions foc converting configuration between multiple bootloaders
|
|
|
|
Imports
- BootCommon
- BootGRUB
- BootGRUB
- Storage
- StorageDevices
Includes
- bootloader/routines/routines.ycp
Local Functions
|
|
|
|
local canConvert (string from, string to) -> boolean
|
|
Is conversion possible?
- Parameters:
|
from |
string source settings format |
|
to |
string target settings format |
- Return value:
|
|
true if conversion possible |
|
local liloSect2grubSect (list<map> section) -> list<map>
|
|
Convert one section of bootloader cfg file from LILO format
to GRUB format
- Parameters:
|
section |
list of section settings in LILO format |
- Return value:
|
|
of section settings in GRUB format |
|
local grubSect2liloSect (list<map> section) -> list<map>
|
|
Convert one section of bootloader cfg file from GRUB format
to LILO format
- Parameters:
|
section |
list of section settings in GRUB format |
- Return value:
|
|
of section settings in LILO format |
|
local liloGlob2grubGlob (list<map> globs) -> list<map>
|
|
Convert global section of bootloader cfg file from LILO format
to GRUB format
- Parameters:
|
globs |
list of global settings in LILO format |
- Return value:
|
|
of global settings in GRUB format |
|
local grubGlob2liloGlob (list<map> globs) -> list<map>
|
|
Convert global section of bootloader cfg file from GRUB format
to LILO format
- Parameters:
|
globs |
list of global settings in GRUB format |
- Return value:
|
|
of global settings in LILO format |
|
local convertSettings (string from, string to) -> boolean
|
|
Convert bootloaders settings
- Parameters:
|
from |
string source settings format |
|
to |
string target settings format |
- Return value:
|