I'm using the CentOS_6.5_Final minimum install ISO. I've added kernel-devel to the Packages directory, and then used createrepo
to rebuild the metadata.
Creating the repodata when in the /mnt/CentOS-6.5-x86_64-minimal
directory.
createrepo -p /mnt/CentOS-6.5-x86_64-minimal/Packages/
It placed the repodata
in /mnt/CentOS-6.5-x86_64-minimal/Packages
, so I moved it back to /mnt/CentOS-6.5-x86_64-minimal/repodata
and replaced the original /mnt/CentOS-6.5-x86_64-minimal/repodata
with the new directory.
This is how I rebuilt the ISO.
genisoimage -o /tmp/CentOS-6.5-x86_64-minimal.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -V OSSA_01 -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T /mnt/CentOS-6.5-x86_64-minimal/
I used this link as a guide.
How to create a custom ISO image in CentOS
How do I make sure the image checksum is still valid?