Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 01-07-2013, 04:28 PM   #1
Registered: Jun 2012
Posts: 264

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, 06:51 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
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, 09:20 PM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,697

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
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 :

Old 01-07-2013, 09:21 PM   #4
Registered: Jun 2012
Posts: 264

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.


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 10:44 AM
[SOLVED] How to save patches & updated rpms? jadukor SUSE / openSUSE 2 03-18-2009 02:30 AM
How to create custom install CD (updated rpms, kickstart, etc.)? Arodef Linux - Software 6 12-17-2007 02:11 PM
How to update a directory of RPMs for a custom ISO?!?!?! jakev383 Linux - Software 4 04-06-2007 06:42 AM
Storing updated rpms on ftp server bcromwell Fedora 1 08-12-2006 06:54 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:57 PM.

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