LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Creatiing a custom iso with updated rpms (http://www.linuxquestions.org/questions/red-hat-31/creatiing-a-custom-iso-with-updated-rpms-4175444559/)

PeterSteele 01-07-2013 04:28 PM

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?

kbp 01-07-2013 06:51 PM

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.

knudfl 01-07-2013 09:20 PM

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

.

PeterSteele 01-07-2013 09:21 PM

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.


All times are GMT -5. The time now is 08:01 PM.