Bootloader::Core::ELILO − ELILO library for bootloader configuration


This package is the ELILO library of the bootloader configuration


use Bootloader::Core::ELILO;

"$obj_ref = Bootloader::Core::ELILO−>new ();"

"$files_ref = Bootloader::Core::ELILO−>ListFiles ();"

"$status = Bootloader::Core::ELILO−>ParseLines (\%files, $avoid_reading_device_map);"

"$files_ref = Bootloader::Core::ELILO−>CreateLines ();"

"$status = Bootloader::Core::ELILO−>UpdateBootloader ();"

"$status = Bootloader::Core::ELILO−>InitializeBootloader ();"


"$obj_ref = Bootloader::Core::ELILO−>new ();"

Creates an instance of the Bootloader::Core::ELILO class. First argumetn is old configuration and second is architecture string like x86_64 or ia64

"$files_ref = Bootloader::Core::ELILO−>ListFiles ();"

Returns the list of the configuration files of the bootloader Returns undef on fail

"$status = Bootloader::Core::ELILO−>FixSectionName ($name,
"$status = Bootloader::Core::ELILO−>ParseLines (\%files,

Parses the contents of all files and stores the settings in the internal structures. As first argument, it takes a hash reference, where keys are file names and values are references to lists, each member is one line of the file. As second argument, it takes a boolean flag that, if set to a true value, causes it to skip updating the internal device_map information. The latter argument is not used for ELILO . Returns undef on fail, defined nonzero value on success.

"$line = Bootloader::Core::ELILO−>CreateSingleMenuFileLine ($key,
$value, $separator);"

Transforms a line (hash) to a string to save. As arguments it takes the the key, the value and a string to separate the key and the value. Returns a string.

"$files_ref = Bootloader::Core::ELILO−>CreateLines ();"

creates contents of all files from the internal structures. Returns a hash reference in the same format as argument of ParseLines on success, or undef on fail.

"$glob_info = $Bootloader::Core−>Global2Info (\@glob_lines,

Gets the general information from the global section of the menu file. This information usually means the default section, graphical menu, timeout etc. As argument it takes a reference to the list of hashes representing lines of the section, returns a reference to a hash containing the important information.

"$lines_ref = Bootloader::Core−>Info2Global (\%section_info,

Takes the info about the global options and uses it to construct the list of lines. The info about global option also contains the original lines. As parameter, takes the section info (reference to a hash) and a list of section names, returns the lines (a list of hashes).

"$lines_ref = Bootloader::Core−>Info2Section (\%section_info,

Takes the info about the section and uses it to construct the list of lines. The info about the section also contains the original lines. As parameter, takes the section info (reference to a hash), returns the lines (a list of hashes).

"$sectin_info_ref = Bootloader::Core−>Section2Info (\@section_lines);"

Gets the information about the section. As argument, takes a reference to the list of lines building the section, returns a reference to a hash containing information about the section.

"$status = Bootloader::Core::ELILO−>UpdateBootloader ();"

Updates the settings in the system. Backs original configuration files up and replaces them with the ones with the ’.new’ suffix. Also performs operations needed to make the change effect (run ’/sbin/elilo’). Returns undef on fail, defined nonzero value on success.

"$status = Bootloader::Core::ELILO−>InitializeBootloader ();"

Initializes the firmware to boot the bootloader. Returns undef on fail, defined nonzero value otherwise

More Linux Commands

gnutls_sign_callback_set(3) - API function - Linux man page
Set the callback function. The function must have this prototype: typedef int (*gnutls_sign_func) (gnutls_session_t session, void *userdata, gnutls_certificate_

smi_render(3) - SMI data and MIB data rendering routines....
These functions provide can be used to render OIDs, values of MIB data, or names of MIB nodes or types. The smiRenderOID() function renders an OID given by its

vfs_prealloc(8) - preallocate matching files to a predetermi
This VFS module is part of the samba(7) suite. The vfs_prealloc VFS module preallocates files to a specified size each time a new file is created. This is usefu

git-stash(1) - Stash the changes in a dirty working director
Use git stash when you want to record the current state of the working directory and the index, but want to go back to a clean working directory. The command sa

realloc(3) - Allocate and free dynamic memory (Man Page)....
The malloc() function allocates size bytes and returns a pointer to the allocated memory. The memory is not initialized. If size is 0, then malloc() returns eit

FcPatternEqualSubset(3) - Compare portions of patterns......
Returns whether pa and pb have exactly the same values for all of the objects in os. VERSION Fontconfig version 2.8.0 FcPatternEqualSubset.3 (Library - Linux ma

gnutls_x509_crt_get_signature(3) - API function (Man Page)
This function will extract the signature field of a certificate. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. and a n

gnutls_db_set_ptr(3) - API function - Linux manual page.....
Sets the pointer that will be provided to db store, retrieve and delete functions, as the first argument. REPORTING BUGS Report bugs to <>. Gn

grub2-mkrelpath(1) make a system path relative to its root
Transform a system filename into GRUB one. -r, --relative use relative path on btrfs -?, --help give this help list --usage give a short usage message -V, --ver

va_copy(3) - variable argument lists - Linux manual page....
A function may be called with a varying number of arguments of varying types. The include file <stdarg.h> declares a type va_list and defines three macros for s

Tk_PhotoGetSize(3) - manipulate the image data stored in a p
Tk_FindPhoto returns an opaque handle that is used to identify a particular photo image to the other procedures. The parameter is the name of the image, that is

fprintf(3) - formatted output conversion - Linux man page...
The functions in the printf() family produce output according to a format as described below. The functions printf() and vprintf() write output to stdout, the s

We can't live, work or learn in freedom unless the software we use is free.