Build Tools

icon 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

icon

  • You have to install these packages with following command:
  • sudo apt-get install squashfs-tools debootstrap mkisofs syslinux qemu

  • Download the latest build script and extract with following commands:
  • wget http://download.penkia.org/build-livecd-current.tar.gz
    tar zxvf build-livecd-current.tar.gz; cd build-livecd-current/

Customize (Optional)

icon By modify these files you can put your settings and configurations into the live CD:

  • list.txt
  • 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 #.

  • config/, post-config/ and cdrom/
  • 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

icon

Under the build-livecd-current/ directory, run this command:

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 .

Packages will download from http://apt.ubuntu.org.tw/ubuntu, so keep internet connected.

Author

icon penkia, <penkia@gmail.com>

I MAKE NO WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIM LIABILITY FOR DAMAGES RESULTING FROM ITS USE.

Last update: Sun Jul 16 22:20:29 UTC+0800 2006.