Red HatThis forum is for the discussion of Red Hat Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
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.