|
Page 3 of 6
Listing 4. Creating a local repository # mkdir /var/www/html/repo/core/ # cp <PATH TO RPMs> /var/www/html/repo/core/ # createrepo /var/www/html/repo/core/
|
This last command will take some time to complete and will create a repodata directory. The livecd-creator command uses this directory to get to the packages. Creating a local repository of configuration packages Since you'll be using Zeuthen's packages to base your Live CD on, you'll need to create a local repository for them as well.
Listing 5. Creating a repository of the LiveCD packages # mkdir base_packages # cd base_packages # wget -c http://people.redhat.com/davidz/livecd/i386/fedora-livecd-6-1.i386.rpm # wget -c http://people.redhat.com/davidz/livecd/i386/fedora-livecd-gnome-6-1.i386.rpm # wget -c http://people.redhat.com/davidz/livecd/i386/fedora-livecd-desktop-6-1.i386.rpm # createrepo /root/base_packages |
As before, this last command will produce the repodata directory to help livecd-creator locate the configuration packages.
Spinning CDs Now that you have your repositories set, you can easily create custom Live CDs. The livecd-creator command produces ISO images that can be burned to CD-Rs. But I'd recommend using virtualization software to test the ISO without actually burning them onto physical media. There are several freely available, such as VMware Player, QEMU, and VirtualBox. A minimal Live CD To get the hang of the livecd-creator command, begin by creating a minimal Live CD:
|