Helper Documentation

Root Filesystem Helpers

Bootloader Helpers

The lwr.grub module contains helpers for GRUB 2 including the installation of GRUB files to the cdroot and the generation of the grub.cfg and loopback.cfg files.

lwr.grub.generate_cfg(bootconfig, submenu=False)[source]
lwr.grub.install_grub(cdroot, bootconfig)[source]

Can use cdroot as a relative path inside the actual cdroot. The d-i/ and live/ directories are used directly.

CD Filesystem Helpers

This module provides helpers for generating the metadata stored in .disk/ on the cdroot.

lwr.disk.get_default_description(distribution)[source]
lwr.disk.install_disk_info(cdroot, description, xorriso_args)[source]

This function creates the .disk/ metadata and installs it into the specified cdroot.

ISO Creation Helpers