lang en_US.UTF-8 keyboard us timezone US/Eastern auth --useshadow --enablemd5 selinux --disabled firewall --disabled xconfig --startxonboot bootloader --timeout=1 #part / --size 1536 # FIXME: bring down below 2G for 2G removable images part / --size 3536 services --enabled=abrt,NetworkManager --disabled=acpid,auditd,cups,dnsmasq,exim,ip6tables,iptables,irda,kerneloops,mdmonitor,netfs,network,nfs,nfslock,nscd,portreserve,rpcbind,rpcgssd,rpcidmapd,sshd # We're on Rawhide now. Switch to F12 Alpha. repo --name=rawhide --baseurl=http://kojipkgs.fedoraproject.org/mash/rawhide-20090818/development/i386/os/ --excludepkgs=generic-release,generic-release-notes,kdebase-workspace,metacity,plymouth,plymouth-*,PolicyKit-kde %packages @base @base-x @core @hardware-support # save some space -cracklib-dicts -nss_db -acpid -mailcap -nano -wavpack -createrepo -irqbalance -specspo -esc -samba-client -a2ps -mpage -redhat-lsb -sox -hplip -hpijs -numactl -isdn4k-utils -autofs # exclude input methods -scim* -m17n* # dictionaries are big -aspell-* -hunspell-* -man-pages-* -words # smartcards won't really work on the livecd. -coolkey -ccid # duplicate functionality -pinfo -vorbis-tools # lose the compat stuff -compat* # qlogic firmwares -ql2100-firmware -ql2200-firmware -ql23xx-firmware -ql2400-firmware # scanning takes quite a bit of space :/ -xsane -xsane-gimp -sane-backends # no printing -system-config-printer -cups* -foomatic* -gutenprint* # attempt to remove dependencies on perl -w3m -logwatch -lftp -fbset -exim -deltarpm # remove SELinux stack -setroubleshoot -policycoreutils -policycoreutils-gui -checkpolicy -selinux-* -libselinux-python -libselinux # other random stuff -PackageKit* -bluez* -samba* -*-backgrounds -compiz-gnome # strip fedora trademarks and use the soas release package -fedora-logos -fedora-release -fedora-release-notes generic-logos generic-release generic-release-notes # bits to set up the livecd while anaconda has been removed here isomd5sum %end %post # workaround avahi segfault (#279301) touch /etc/resolv.conf /sbin/restorecon /etc/resolv.conf # work around for poor key import UI in PackageKit rm -f /var/lib/rpm/__db* rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora # go ahead and pre-make the man -k cache (#455968) /usr/sbin/makewhatis -w # make sure there aren't core files lying around rm -f /core* %end %post --nochroot cp $INSTALL_ROOT/usr/share/doc/*-release-*/GPL $LIVE_ROOT/GPL cp $INSTALL_ROOT/usr/share/doc/HTML/readme-live-image/en_US/readme-live-image-en_US.txt $LIVE_ROOT/README # only works on x86, x86_64 if [ "$(uname -i)" = "i386" -o "$(uname -i)" = "x86_64" ]; then if [ ! -d $LIVE_ROOT/LiveOS ]; then mkdir -p $LIVE_ROOT/LiveOS ; fi cp /usr/bin/livecd-iso-to-disk $LIVE_ROOT/LiveOS fi %end