Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Installation and Live Media
FedoraForum Search

Forgot Password? Join Us!

Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th June 2008, 02:52 PM
liqin Offline
Registered User
 
Join Date: Jun 2008
Posts: 6
how to add customized rpm package in kickcstart's %package ,not in the %post

As what I said in the title,I am trying to install Fedora 9 with the kickstart.I can't figure out how to add the rpm package in the %package section of the kickstart.If I add one my own customized rpm package "myown" and I put the myown-1.0.0.rpm under Package directory.What else can I change?
Is it the xml files under repodata files such as Fedora-9-comps.xml.gz and primary.xml.gz.
I am not very sure about the format how to edit it.After I add the myown into Fedora-9-comps.xml.gz and primary.xml.gz.I got the error like "unable to read group information from repositories,This is a problem with the generaton of yor install tree".

Anyone has some idea about it.I really appreciate!!Thanks!


The following is my kickstart file

#version=F9
install
nfs --server=ws5 --dir=/local/fedora9install-edit
lang en_US.UTF-8
keyboard us
network --device eth0 --bootproto dhcp
rootpw --iscrypted $6$2i7PxP4bLrzGHQDc$qoo4eKu0msYqRAMDVVGVNp81B.1GgA NwdfnAZSOWWj4OIqyujYeaznSRukwqviKFPMByZF0MkKBa4mk9 DOQAn/
firewall --enabled --port=22:tcp
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc Etc/GMT
bootloader --location=mbr --driveorder=sda,sdb
clearpart --all --drives=sda
part /boot --fstype ext3 --size=1000
part pv.85 --size=20000 --ondisk=sda
part pv.86 --size=100 --grow --ondisk=sda
volgroup OSGroup00 --pesize=32768 pv.85
volgroup DataGroup01 --pesize=32768 pv.86
logvol /var --fstype ext3 --name=LogVol_VAR --vgname=OSGroup00 --size=4992
logvol / --fstype ext3 --name=LogVol_ROOT --vgname=OSGroup00 --size=4992
logvol /tmp --fstype ext3 --name=LogVol_TMP --vgname=OSGroup00 --size=4992
#logvol /local --fstype ext3 --name=LogVol_LOCAL --vgname=DataGroup01 --size=100 --grow
logvol /local --fstype ext3 --name=LogVol_LOCAL --vgname=DataGroup01 --size=4992
logvol swap --fstype swap --name=LogVol_SWAP --vgname=OSGroup00 --size=4992



%packages
@core
@base
@java
@dial-up
gpgme
pax
gnupg2
myown
%end
Reply With Quote
Reply

Tags
%package, %post, add, customized, kickcstart, package, rpm

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
How to download and install a package (zip package) jazz Using Fedora 13 17th March 2009 06:20 PM
FC6 fails during package installation ~or~ package dependency check Lord Kage EOL (End Of Life) Versions 0 29th April 2007 06:37 AM
gnu.getopt package: cannot find package gnu (FC5). Hellboy Using Fedora 4 1st June 2006 07:23 PM
Unlocatable package, package not found Wh0M3 Using Fedora 6 19th April 2006 02:15 AM
Can't get yum, Package Updater, and Package Manager to work in FC5 Tom22 Using Fedora 10 4th April 2006 03:44 AM


Current GMT-time: 17:12 (Wednesday, 22-05-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