In the kickstart file, where the repo is specified, replace $basearch by i386, eg here's a minimal text boot livecd with development tools:
Code:
lang en_US.UTF-8
keyboard uk
timezone GB
auth --useshadow --enablemd5
selinux --disabled
firewall --disabled
part / --size 4096
# root account
rootpw pass
repo --name=f10 --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=i386
%packages
@core
bash
kernel
passwd
chkconfig
authconfig
rootfiles
memtest86+
nano
gcc
binutils
make
patch
libgomp
glibc-devel
glibc-headers
kernel-headers
kernel-devel
man
bc
system-config-firewall-tui
%post --nochroot
# copy any required files to the Live Image
# mkdir $INSTALL_ROOT/project
# cp /mnt/data/project/*.c $INSTALL_ROOT/project/
%end
save as livecd-fedora-minimal_test.ks and then create the livecd with (as root)
Code:
livecd-creator --cache=yumcache/ -c livecd-fedora-minimal_test.ks -f MYLIVECD
(I usually use a local yum cache so further builds won't require a redownload of the rpms)
and test with qemu (or qemu-kvm if available),
Code:
sudo qemu-kvm -m 512 -cdrom MYLIVECD.iso &
(root password on the livecd is "pass")