LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 01-07-2013, 05:28 PM   #1
PeterSteele
Member
 
Registered: Jun 2012
Posts: 218

Rep: Reputation: Disabled
Creatiing a custom iso with updated rpms


I downloaded the 6.3 CentOS iso image, and then downloaded the latest versions of the rpms that are listed when a "yum updated" is run on a CentOS 6.3 system.

I want to create a custom CentOS iso based on the current iso, updated the rpms with the latest versions I've downloaded. For example, the kernel rpm that comes with the CentOS 6.3 iso is kernel-2.6.32-279.el6.x86_64.rpm (as listed in the Packages directory in the root of the iso). The latest available is kernel-2.6.32-279.19.1.el6.x86_64.rpm. There are something like 58 rpms in the Packages directory that have updates available.

I have a script that generates a custom iso from the default rpms that come with the release iso, but I'm not sure what I need to do to create a custom iso with the set of new rpms. I assume I need to update the comps.xml file with the latest versions of the rpms I am updating, but I can't find entries for most of the rpms I need to update. There's not even one for kernel-2.6.32-279.el6.x86_64.rpm.

Can someone enlighten me as to the proper process?
 
Old 01-07-2013, 07:51 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
Any reason you can't just drop them into a directory on the iso and add it as another repo? .. definitely a lot simpler than trying to upgrade the existing structure.
 
Old 01-07-2013, 10:20 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,260

Rep: Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660Reputation: 2660
And : Why would you make it at all ?
New updates are added all the time.

And : CentOS 6.4 is to be released in a few months :
New kernel <release version> again again :
https://access.redhat.com/knowledge/...neral-Features

.
 
Old 01-07-2013, 10:21 PM   #4
PeterSteele
Member
 
Registered: Jun 2012
Posts: 218

Original Poster
Rep: Reputation: Disabled
I have another tool that is then used to convert the iso into a bootable disk image. That image is downloadable from a website, and we want to keep the image as small as possible. We're basically running a bare minimum CentOS and the smaller we can keep the .img file the better. For that reason I'd like to replace the rpms rather than adding the 58 upgraded files.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Custom LiveOS ISO with Custom Files and RPMs niteshadw Red Hat 1 11-06-2012 11:44 AM
[SOLVED] How to save patches & updated rpms? jadukor Suse/Novell 2 03-18-2009 03:30 AM
How to create custom install CD (updated rpms, kickstart, etc.)? Arodef Linux - Software 6 12-17-2007 03:11 PM
How to update a directory of RPMs for a custom ISO?!?!?! jakev383 Linux - Software 4 04-06-2007 07:42 AM
Storing updated rpms on ftp server bcromwell Fedora 1 08-12-2006 07:54 AM


All times are GMT -5. The time now is 05:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration