Displaying 2 results from an estimated 2 matches for "path_to_comps".
2007 Apr 15
2
Custom CentOS5 DVD
Hello,
Does anyone have an up-to-date page describing, step by step, how to make a
customized CentOS5 DVD?
I noticed that CentOS5 already comes with ~240MB of updates. So for starters,
I'd like to create a new DVD with all the current updates. (And I have other
custom scripts I need to install on top of that).
I've googled around and tried various suggestions on the net:
2007 Apr 30
1
CentOS 5 single DVD for i386 and x86_64
...reenfont-i386.gz usr/lib/anaconda-runtime/screenfont-x86_64.gz
ln -s i386-redhat usr/share/grub/x86_64-redhat
To recreate the image with your own packages or comps.xml:
1. populate the CentOS rpm directory with the rpms of your choosing;
2. call createrepo in the iso root dir:
createrepo -g path_to_comps.xml .
3. rename repodata to repodata.i386 or repodata.x86_64 and fix the
relative paths in repodata.%arch/repomd.xml:
perl -pi -e 's/repodata/repodata.i386/g' repodata.i386/repomd.xml
4. repeate for the other arch.
5. create the iso:
mkisofs -o ../centos5_32and64.iso -b isolinux/isolin...