I am trying to do this, with no luck.
I want to have an installation with only the packages I specify.
What I've done:
1) created a list of desired packages, from an existing F17 installation.
2) with a bit of shell programming magic, created a list of all dependencies of the original list of packages.
3) downloaded all packages: from original list, and also dependency list
4) created a repo from those packages (using createrepo)
5) From a Fedora17 (x86_64) installation DVD, I replaced the Packages directory with my own Package directory, that had all of my downloaded rpms.
6) replaced the repodata directory with the one created from createrepo.
7) built a kickstart file to install all of this.
8) mounted the new Fedora install files, as well as the kickstart file on an nfs share.
9) booted my new machine to fetch the installation from the nfs mounts.
This all works, up until the repo/package processing. I get several error messages, including missing files (which are there, and in the repo comps filies), and then something about a bad repo tree.
I have googled a lot, and patched together this process, but something is just not right. So any help will be greatly appreciated.
Here is my kickstart file:
Code:
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Install OS instead of upgrade
install
ignoredisk --only-use=sda
#key --
# Firewall configuration
firewall --disabled
# Use NFS installation media
nfs --server=192.168.1.101 --dir=/mnt/iso
# Root password
rootpw --iscrypted $1$HRRjrFIf$TrDg95pqW2VKbu.EwnKqE0
# Network information
network --bootproto=static --device=p4p1 --gateway=192.168.1.1 --ip=192.168.1.103 --nameserver=64.81.79.2 --netmask=255.255.255.0 --onboot=yes --hostname=elmer
# System authorization information
auth --useshadow --passalgo=md5
# Use graphical install
graphical
# Run the Setup Agent on first boot
firstboot --reconfig
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration
selinux --disabled
# Installation logging level
logging --level=info
# halt after installation
halt
# System timezone
timezone America/Los_Angeles
# System bootloader configuration
bootloader --append="selinux=0" --location=mbr
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all
autopart
#
# repos
#
# don't know if I need to specify an installation repo
#repo --name="elmer 17" --baseurl=nfs:192.168.1.101:/mnt/iso
#
# basic fedora and rpmfusion repos info - didn't think I needed them now
#
#repo --name="Fedora 17" --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-17&arch=x86_64
#repo --name="Fedora 17 Updates" --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f17&arch=x86_64
#repo --name="RPM Fusion for Fedora 17 (Free)" --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-17&arch=x86_64
#repo --name="RPM Fusion for Fedora 17 (Non-Free)" --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-17&arch=x86_64
#repo --name="RPM Fusion for Fedora 17 (Free Updates)" --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-17&arch=x86_64
#repo --name="RPM Fusion for Fedora 17 (Non-Free Updates)" --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-17&arch=x86_64
#
services --disable avahi-daemon,iptables,ip6tables,rdisc
services --enable nmb,smb,nfs
#
monitor --monitor=ViewSonicGS790 --noprobe
#
# Packages
#
# elmer17 is the group I created using the -g option for createrepo
#
# didn't think I needed base, since I should have included all of those packages via my dependency search
#
%packages --nobase
#
@elmer17
kernel
bash
glibc
basesystem
filesystem
...
<all other files, available on request>
...
%end
I can attach any of the comps.xml.gz files if desired.
TIA
ken