Fedora Linux Support Community & Resources Center
  #1  
Old 2nd November 2012, 06:41 PM
daytooner Offline
Registered User
 
Join Date: Apr 2009
Posts: 183
linuxfedorafirefox
Creating personal Fedora Spin

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
Reply With Quote
  #2  
Old 2nd November 2012, 09:38 PM
sea's Avatar
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,643
linuxchrome
Re: Creating personal Fedora Spin

Besides you're not even using your own mirror, it downloads all packes from remote, if you havent copied it, the proc3ss will fail.
Try to add:
@core

Hope this helps
__________________
Notebook: Samsung NC210/NC110 CPU: Intel 2*1600 Mhz RAM: 1024 MB DDR2 OS: Fedora 19 DE: Awesome
Laptop: Toshiba Satellite L670 CPU: Intel(r) 2*1872 Mhz RAM: 3072 MB DDR3 OS: Fedora 17 DE: Awesome
Fedora Manual (RTFM) | The Linux Documentation Project | Script-Tools
Reply With Quote
  #3  
Old 3rd November 2012, 12:37 AM
daytooner Offline
Registered User
 
Join Date: Apr 2009
Posts: 183
linuxfedorafirefox
Re: Creating personal Fedora Spin

Quote:
Originally Posted by sea View Post
Besides you're not even using your own mirror, it downloads all packes from remote, if you havent copied it, the proc3ss will fail.
Try to add:
@core

Hope this helps
I didn't want to create an entire fedora/rpmfusion mirror repo. But I did download all of those rpms (at least those that I thought I needed).

What I do want to do is to create a repo that has all of my desired rpms pre-downloaded. And that is where I seem to be stuck. It seems that my repo is not set up correctly (at least for the installer).

The whole idea of this is to be able to install several machines identically, without having to go through the installer and check which packages I want, and which I don't, as well as having to separately set up the rpmfusion repos (and others).
Reply With Quote
Reply

Tags
createrepo, creating, fedora, kickstart, personal, spin

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Creating Spin - Need Additional Customization ericl42 Fedora Spins & Remixes 4 23rd February 2012 07:36 AM
Problem with creating fedora spin , Cannot retrieve repository metadata (repomd.xml) sijothakadiyel Fedora Spins & Remixes 0 10th December 2011 05:10 AM
HP will 'discontinue operations for webOS devices', may spin off Personal Systems Gro Wayne Wibble 18 23rd August 2011 01:57 PM
Errors while creating fedora spin. sayantandas Fedora Spins & Remixes 7 11th September 2010 06:36 PM
Creating a custom spin eXDee Using Fedora 0 8th June 2008 12:57 AM


Current GMT-time: 07:04 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat