Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.
Launchpad Entry: livecd-creator
This spec proposes a set of tools and graphical user interface to create and maintain custom Ubuntu LiveCDs.
Currently we do not have an acceptable way for end users to create Ubuntu LiveCDs. LiveCD customization based on the existing Ubuntu LiveCD requires a user capable of installing Gentoo or LFS for the first time using only online resources; many users either do not have the skill level or the interest to put that much effort into creating a custom LiveCD.
There are several.
- The Ubuntu development team should use the proposed LiveCD creation tools to create the official LiveCDs; if they don't, then the tools obviously do not carry the appropriate level of robustness for their task.
- Alice wants to create a LiveCD from Ubuntu containing Thunderbird instead of Evolution.
- Bob wants to custom configure the default Ubuntu installation. He configures a LiveCD as needed with custom programs and a default configuration, and also includes the Ubiquity installer.
- Eve wants to slipstream the latest security updates and bugfixes directly into the current LTS release. She builds herself a fresh LiveCD with Ubiquity based on the official Ubuntu LiveCD template.
- Smith wants to create a programming course for his students to study from. He guts Ubuntu and adds a load of programming tools to a new LiveCD.
Carol carries around a LiveCD containing OpenOffice.org, Firefox, Pidgin, Rhythmbox, and her CD collection ripped to Ogg Vorbis. She uses this along with a USB drive at public terminals to safely browse the Internet and work on reports without the threat of keyloggers and trojan-infected machines.
- Trent works for the Infrastructure department of Delta Software. He creates custom LiveCD images and keeps several burned to CD-RW for the company's employees to use in case their hard drives fail or their operating systems get destroyed.
Our scope includes all manner of LiveCD creation. LiveCD tools should provide a robust enough environment for the Ubuntu developers to generate the official CDs from them. Required functionality includes:
- Creating LiveCDs based on templates, such as "bare minimum" installing ubuntu-minimal
- Selects repositories
- Selects default packages
- Adjusting the packages on the LiveCD by adding or removing through a Synaptic-like interface
- Adding files directly to the LiveCD just before finalizing
- Modifying the default X11 environment
- Execute a GNOME, KDE, or XFCE log-in in Xnest
Save the home directory as the /etc/skel
- Saving and updating LiveCD templates
Save the package list, /etc/skel, and additional files
- Update by adjusting repositories and performing upgrades or dist-upgrades
- Adding the Ubiquity installer
The LiveCD Creator should use a set of Python or bash command line tools. It should create LiveCDs completely from scratch, rather than remaster existing LiveCDs.
The LiveCD creator should supply a graphical user interface that integrates with the command line tools or, optimally, a set of back-end libraries. This interface will allow non-technical users to create LiveCDs.
The LiveCD creator should separate the task of building a LiveCD Definition; constructing a LiveCD Compiled Image; and creating a LiveCD:
LiveCD Definition: A file listing packages, repositories, the path to an /etc/skel directory, and paths to extra files to include.
LiveCD Compiled Image: An archive compiled from a LiveCD Definition, containing versions of packages, a tarball of the /etc/skel directory, and a tarball of the extra files to overlay onto the final LiveCD. A LiveCD Compiled Image always builds a LiveCD containing the exact same files.
LiveCD: A bootable CD, DVD, or USB drive image.
Recompiling a LiveCD Definition can resync the repositories and roll out updates into the new LiveCD Compiled Image. You can feasibly decompile a LiveCD Compiled Image into a LiveCD Definition, as it contains the same information but has also selected specific versions of packages and rolled the /etc/skel directory and additional files into tarballs to overlay the final file system tree. A LiveCD Compiled Image may optionally maintain only pointers to the files, useful if the files include data files like music or videos.
BoF agenda and discussion
* From what I can tell, the developers are used to building LiveCDs; and once you've gotten used to the few steps involved, it's too easy to bother automating. The user base only has passive interest, and mostly in minor customization (a LiveCD with MP3 and Flash support). Mostly no one (myself included) simultaneously has the time, skill, and interest to implement this. It doesn't seem to solve a visible problem either, as LiveCD customization gives a passive whisper here and there but gets no significant publicity. --JohnMoser
* The big question is, would a quick and easy way to create completely customized LiveCDs from scratch set Ubuntu apart from every other modern operating system? Would Apple suddenly implement some sort of "MacOSX Emergency Rescue" CD in case of "hard drive or system failure"? Would Microsoft scramble to bring WinPE to the general user base? Or would the whole thing just blow over? --JohnMoser