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.
Adam creates a Network Security LiveCD from Ubuntu. Rather than host a whole LiveCD image, he places a LiveCD Compiled Image (see Design notes) up for download, which is only a few megabytes and allows end users to quickly create the LiveCD ISO.
Steve gets Adam's Network Security LiveCD and wants to update it to the latest tools, as it's from 2 releases ago. He reverse-compiles the LiveCD Compiled Image to a LiveCD Definition and updates it to use the latest repositories and software versions.
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
Because I love numbers. [http://ubuntuforums.org/showthread.php?t=435562 Poll] has over a dozen votes, let's up the exposure.... --JohnMoser
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
There are already two 3rd party tools for creating customized Ubuntu LiveCDs: [http://reconstructor.aperantis.com/ Reconstructor] and [http://uck.sourceforge.net/ Ubuntu Customization Kit]. --AzraelNightwalker
I've used Reconstructor. It's shoddy and pretty useless, unless you want to write "rmod" scripts and manual apt-get commands. I managed to remove Evolution and Ekiga with it, but it doesn't really let me pick packages I'd like through any kind of Synaptic-like interface (just what there's 'rmod' files for). UCK only advertises controlling the language pack, haven't tried it to see if there's more. --JohnMoser
Also note that these both modify existing LiveCDs, and I'm more interested functionally in a tool that creates them from scratch. Also note there was mention of using "definition" files and such, which could make it possible to ship a "LiveCD" by shipping the definition and letting the end user load it and have it built. Adding this to use cases. --JohnMoser