Anaconda/Features/ReworkLiveCD

From FedoraProject

< Anaconda | Features
Revision as of 22:11, 15 February 2011 by Bcl (Talk | contribs)

Jump to: navigation, search

Contents

Rework current livecd support

Summary

Rethink livecd installation and figure a way to sanely support. RHEL use case is virt (RHEV). Fedora use case are the live CDs.

python-imgcreate needs to be more tightly integrated with Anaconda. It currently produces images that are almost, but not quite exactly the same as an Anaconda installed system. In order to accomplish this Anaconda needs to be more modular so that things like hooking the fstab generation or bootloader type can be accomplished. The goal is to move functionality out of python-imgcreate and into Anaconda provided (an maintained) classes. Eventually python-imgcreate may become part of Anaconda to simplify maintenance of the interface.

The move to the pyanaconda module and the storage system rewrite move us in the right direction.

Here are some of the things that need to be exposed by Anaconda

  • bootconfig hook - called after package install, but before kickstart %post. Used to create bootloader config.
  • fstab creation
  • _get_kernel_versions - list of installed kernels. Used to setup custom bootloaders
  • filesystem hook - creation, mounting, sparse image creation, squashfs, construction of iso
  • custom dracut.conf and mkinitrd.conf

Owner

Current status

  • Targeted release: Fedora 16
  • Last updated: 2011-02-15
  • Percentage of completion: 5%

Detailed Description

  • Switch livecd-creator to use Anaconda's new image creation capability - Anaconda/Features/ImageInstallation
  • Make sure livecd installs and iso installs are working from the same starting point (eg. mounts, active devices, etc.)

Benefit to Fedora

  • Less bugs, more features

Scope

  • anaconda
  • anaconda storage
  • livecd-tools
  • python-imgcreate

Test Plan

User Experience

Dependencies

Contingency Plan

Documentation

Release Notes