Build Tools
PUD GNU/Linux project provides a set of live CD's build tools,
including configure files, build script and packages list.
You have exactly the same tools that developers use. Hope this may help you customize and make your own live CD quickly and easily.
Download and Extract
- You have to install these packages with following command:
- Download the latest build script and extract with following commands:
sudo apt-get install squashfs-tools debootstrap mkisofs syslinux qemu
wget
http://download.penkia.org/build-livecd-current.tar.gz
tar zxvf build-livecd-current.tar.gz; cd build-livecd-current/
Customize (Optional)
By modify these files you can put your settings and configurations into the live CD:
- list.txt
- config/, post-config/ and cdrom/
This file contains the packages you want to install in your live CD. For example you may want to change ion3 to xfce4. It accept single line comment started with #.
These directories contain the files which will be copied into the live cd system. The structure is just like the real system, all you need is put files into corresponding directory (for example config/usr/local/bin/blah.sh ), and it will appear in the live cd system ( /usr/local/bin/blah.sh ).
Build
sudo perl build-livecd.pl
This script will install base system, chroot to install more packages, config, cleanup unneeded files, compress filesystem, make the .iso image and start qemu to test. The whole files will be put into ../builddir/pud-YYYYMMDD-HH/, and the image file is ../builddir/pud-YYYYMMDD-HH.iso .
Author
penkia, <penkia@gmail.com>
I MAKE NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIM LIABILITY FOR DAMAGES RESULTING FROM ITS USE.
