Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th November 2011, 04:13 AM
Diametric Offline
Registered User
 
Join Date: Apr 2010
Location: DC
Posts: 45
windows_xp_2003chrome
repository group issue

Hello,

I'm trying to figure out how to add a group to my kickstart file - which I believe is handled by editing my comps.xml file located in /repodata. My issue is I can't seem to find any info on hows to do this...any one have any leads or links to get this accomplished?

Cheers...
Reply With Quote
  #2  
Old 19th November 2011, 04:16 AM
AndrewSerk Offline
Registered User
 
Join Date: Oct 2010
Posts: 880
linuxfirefox
Re: repository group issue

I just add:
Code:
@groupname
to the kickstart file under %packages

Last edited by AndrewSerk; 19th November 2011 at 04:21 AM.
Reply With Quote
  #3  
Old 19th November 2011, 05:00 AM
cazo Online
Registered User
 
Join Date: Sep 2005
Location: Redneck Riviera
Posts: 333
linuxchrome
Re: repository group issue

Code:
yum -v grouplist
will show you the list of available groups. Use the one(s) in parentheses as the @groupname that AndrewSerk mentioned.
Reply With Quote
  #4  
Old 19th November 2011, 05:31 AM
Diametric Offline
Registered User
 
Join Date: Apr 2010
Location: DC
Posts: 45
linuxfirefox
Re: repository group issue

After running the code I see the group list - maybe i'm not seeing what you're saying (sorry if i'm being dense), but I want to create a new group and add my own .rpm to that group - or what ever allows me to add "x" group to my kickstart that installs my .rpm upon a VM creation so that I do not have to come back and run any yum updates.

I hope that makes sense...and thanks for the replies.

Cheers.
Reply With Quote
  #5  
Old 19th November 2011, 11:48 PM
AndrewSerk Offline
Registered User
 
Join Date: Oct 2010
Posts: 880
linuxfedorafirefox
Re: repository group issue

Oh, I get what you are saying now. I have never tried to add a package/s by creating a new group, so not much help in that regard from me.
bump!
Reply With Quote
  #6  
Old 20th November 2011, 01:50 AM
cazo Online
Registered User
 
Join Date: Sep 2005
Location: Redneck Riviera
Posts: 333
linuxchrome
Re: repository group issue

I don't think you're being dense - just not asking about what I thought you were asking about. I thought you were talking about including additional packages (or group of packages).

Do you mean you want to add your own repository of packages (custom .rpms)?
Reply With Quote
  #7  
Old 20th November 2011, 07:09 AM
Diametric Offline
Registered User
 
Join Date: Apr 2010
Location: DC
Posts: 45
linuxfirefox
Re: repository group issue

yes - that is the whole #! (get it...shebang. I rock)

The purpose is to launch a kickstart that has my consolidated repository and install custom .rpms so that when the vm is built, it has the package(s) installed upon build.

thanks again...

PS: when did using a MS machine in this forum make the user have a pile of poo? Not that i mind; I actually agree...but have never seen it before.
Reply With Quote
  #8  
Old 20th November 2011, 07:36 AM
cazo Online
Registered User
 
Join Date: Sep 2005
Location: Redneck Riviera
Posts: 333
linuxchrome
Re: repository group issue

You should be able to add your custom repo near the top of the kickstart file, where the Fedora ones are located:
Code:
repo --name=custom --baseurl=http://server/repo/$releasever/$basearch/
This is based on looking at the kickstart file(s) in /usr/share/spin-kickstarts/. I've used a similar method to 'roll my own' LiveUSB with additional packages (from rpmfusion). Which kickstart file(s) are you using for your VM?

P.S. I noticed your 'machine icon' too.
Reply With Quote
  #9  
Old 5th December 2011, 04:10 AM
AndrewSerk Offline
Registered User
 
Join Date: Oct 2010
Posts: 880
linuxfedorafirefox
Re: repository group issue

Sorry for the late reply I lost track of this thread some how.

These are the basic steps that I use to add packages to livecd/dvd:

1. Put the rpms for the packages you want to add in a folder.

2. Create a repo from the folder with the custom rpms inside. ( man createrepo)

3. Create a local.ks that points to your local repo with packages listed in local.ks

4. Put "%include local.ks" in the fedora-livecd-desktop.ks or whatever ks you are going to use to spin your remix.

5. Spin

Hope this helps,
Reply With Quote
Reply

Tags
group, repository

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
[SOLVED] yum issue at work : Error: Cannot retrieve repository metadata (repomd.xml) for repos alain.roger Using Fedora 3 12th August 2010 12:33 PM
Fedora 10 repository issue harshanajwala EOL (End Of Life) Versions 5 2nd May 2010 09:30 PM
firefox ,Java, ATRPMS repository issue. spfdz Using Fedora 2 9th November 2006 09:59 PM
DAG Repository Issue (Heanet corruption problems) tchung News 2 12th May 2005 05:37 AM
How to add a program group in gnome-menu (issue not resolved) iskake Using Fedora 4 21st November 2004 07:27 PM


Current GMT-time: 09:49 (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