Live media creation in CDDs
The purpose of this page is to gather and compare what different CDDs do with respect to live CD (DVD, usb keys...) and see what could be shared in cdd-dev.
Debian Jr
Debian Jr is [http://git.debian.org/?p=debian-live/config-junior.git;a=summary using live-helper] (but not cdd-dev).
Debian Edu
use a [http://svn.debian.org/wsvn/debian-edu/trunk/src/build/live-CD/?rev=0&sc=0 script] based on live-helper.
Debian Gis
- one single task (workstation).
use a [http://svn.debian.org/wsvn/pkg-grass/packages/debian-gis/build-gis-live?op=file&rev=0&sc=0 script] originating from Debian Edu, based on live-helper: [:DebianGis/LiveImages:]
Debian Med
- several tasks, some with task and task-dev
Debian Science
- several tasks, some with task and task-dev (like mathematics and mathematics-dev).
Goals
- Build one live media for each task.
- Be also able to gather all the tasks in one single (large) media (DVD...)
- Gather (or not) packages of task and task-dev on the same media (depending of available space).
- Add or not suggests: packages depending on the media too (for example packages containing large sets of data might be only in suggests:)
- Other idea: define new tags in cdd-dev.
Questions
- Do we want to create version depending on the release (oldstable, stable, testing, unstable)? For example Debian Gis currently builds on
Live CD creation (tests and examples)
Debian Med
$ sudo aptitude update $ sudo aptitude install live-helper
$ lh_config
$ lh_clean $ lh_config --mirror-bootstrap "http://192.168.0.1/debian" --mirror-binary "http://192.168.0.1/debian" -d sid -a i386 --sections "main" --cache-packages enabled --bootloader grub $ lh_config --packages "med-bio med-bio-dev med-imaging med-imaging-dev med-pharmacy med-physics med-practice fluxbox" $ lh_config --packages-lists standard-x11 $ lh_build
Wait...
Test the image.
$ qemu -boot d -cdrom binary.iso -m 256
Current problem
Error message:
(==) Using config file: "/etc/X11/xorg.conf" Data incomplete in file /etc/X11/xorg.conf At least one Screen section is required. (EE) Problem parsing the config file (EE) Error parsing the config file Fatal server error: no screens found XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining.
X fails to start because there is an empty /etc/X11/xorg.conf
The workaround is to remove the /etc/X11/xorg.conf (to do with a hook).