Are there any docs on how to rebuild the CentOS 5 installer?
I've been doing this for CentOS 4 based on the script at http://centos.hughesjr.com/testing/build.sh.txt - but I now need to do something similar with CentOS 5 ...
Thanks
James Pearson
James Pearson wrote:
Are there any docs on how to rebuild the CentOS 5 installer?
I've been doing this for CentOS 4 based on the script at http://centos.hughesjr.com/testing/build.sh.txt - but I now need to do something similar with CentOS 5 ...
revisor should do the right thing, mostly.
Karanbir Singh wrote:
James Pearson wrote:
Are there any docs on how to rebuild the CentOS 5 installer?
I've been doing this for CentOS 4 based on the script at http://centos.hughesjr.com/testing/build.sh.txt - but I now need to do something similar with CentOS 5 ...
revisor should do the right thing, mostly.
Thanks - but what is revisor? - OK, I can probably google for it, but if you have any pointers, that would be most useful.
Thanks
James Pearson
James Pearson wrote:
Are there any docs on how to rebuild the CentOS 5 installer?
I've been doing this for CentOS 4 based on the script at http://centos.hughesjr.com/testing/build.sh.txt - but I now need to do something similar with CentOS 5 ...
revisor should do the right thing, mostly.
Thanks - but what is revisor? - OK, I can probably google for it, but if you have any pointers, that would be most useful.
First hit on google :D
Karanbir Singh wrote:
James Pearson wrote:
Are there any docs on how to rebuild the CentOS 5 installer?
I've been doing this for CentOS 4 based on the script at http://centos.hughesjr.com/testing/build.sh.txt - but I now need to do something similar with CentOS 5 ...
revisor should do the right thing, mostly.
Thanks - but what is revisor? - OK, I can probably google for it, but if you have any pointers, that would be most useful.
First hit on google :D
OK - thanks ...
Is this what the CentOS team use to rebuild the installer?
Having a very quick look at the docs, it appears to be far much more than I need ... for CentOS 4, I use a short script to run genhdlist (twice), pkgorder and buildinstall (pulled from the build.sh.txt above) - is there a similar script for CentOS 5 available somewhere?
Thanks
James Pearson
James Pearson wrote:
Is this what the CentOS team use to rebuild the installer?
no.
Having a very quick look at the docs, it appears to be far much more than I need ... for CentOS 4, I use a short script to run genhdlist (twice), pkgorder and buildinstall (pulled from the build.sh.txt above)
- is there a similar script for CentOS 5 available somewhere?
There is no script really, since its all yum repo's on the install media, its just a case of making sure your repo's are complete, the packages dep loop close, and running buildinstall once.
In most cases, I highly recommend you dont even do the buildinstall process. just use what is shipped with the centos media, just adapt repo's to taste.
Jeroen offered to have revisor do something like this, where it would recompose the repo tree's and rebuild install media without rerunning buildinstall for CentOS. Not sure if he has had the time to make that happen as yet or not.
Karanbir Singh wrote:
James Pearson wrote:
Is this what the CentOS team use to rebuild the installer?
no.
Out of interest, how do the CentOS team rebuild the installer?
Having a very quick look at the docs, it appears to be far much more than I need ... for CentOS 4, I use a short script to run genhdlist (twice), pkgorder and buildinstall (pulled from the build.sh.txt above) - is there a similar script for CentOS 5 available somewhere?
There is no script really, since its all yum repo's on the install media, its just a case of making sure your repo's are complete, the packages dep loop close, and running buildinstall once.
How do I make sure the 'packages dep loop close' - does that mean running pkgorder?
In most cases, I highly recommend you dont even do the buildinstall process. just use what is shipped with the centos media, just adapt repo's to taste.
Yes, I agree, but there are times (with CentOS 4) that I have needed to rebuild the installer for my own needs - and I would like to make sure I can do this with CentOS 5 when required.
Thanks
James Pearson
James Pearson wrote:
Out of interest, how do the CentOS team rebuild the installer?
err, I build the centos-5 installer with just the buildinstall line, mkisofs the isos' and push them out. Stuff has become a lot simpler with C5 than it was with C4.
How do I make sure the 'packages dep loop close' - does that mean running pkgorder?
I am going to presume you need just 1 installset, a DVD or a network install mechanism - in which case pkgorder is sort of redundant.
depclosure: that `rpm -qpR *.rpm ` should be satisfied by rpm -qp --provides *.rpm`; in your repository. There should be no 'dangling' deps. If you look at yum-utils, there are tools there which might help unless you want to write them yourself.
Yes, I agree, but there are times (with CentOS 4) that I have needed to rebuild the installer for my own needs - and I would like to make sure I can do this with CentOS 5 when required.
buildinstall is still there, so you should be able to run it anytime. but I'd still be interested in knowing why you might want to rebuild the installer ? even most install-time changes to the installer are easily pushed using product.img / updates.img
Karanbir Singh wrote:
How do I make sure the 'packages dep loop close' - does that mean running pkgorder?
Jeff just pointed out : rpm -pvt *.rpm; in the directory with all the rpms will also run the depclosure and output missing Requires:
It also seems to run many times faster than yum's repoclosure script.
Karanbir Singh wrote:
rpm -pvt *.rpm;
err, rpm -qpvT *.rpm
Karanbir Singh wrote:
James Pearson wrote:
Out of interest, how do the CentOS team rebuild the installer?
err, I build the centos-5 installer with just the buildinstall line, mkisofs the isos' and push them out. Stuff has become a lot simpler with C5 than it was with C4.
I see now, it is a lot simpler ... I've got buildinstall to run and do what I need
Thanks
James Pearson
Just for fun (yeah, it was a real party) a few months ago I rebuild the CentOS CD using pungi. It took me about an hour, and gave me a bootable CentOS cd. My recommendation, only use the older methods if you really have to hack the installer, or anaconda.
Matt
Karanbir Singh wrote:
James Pearson wrote:
Are there any docs on how to rebuild the CentOS 5 installer?
I've been doing this for CentOS 4 based on the script at http://centos.hughesjr.com/testing/build.sh.txt - but I now need to do something similar with CentOS 5 ...
revisor should do the right thing, mostly.
-- Karanbir Singh CentOS Project { http://www.centos.org/ } irc: z00dax, #centos@irc.freenode.net _______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org http://lists.centos.org/mailman/listinfo/centos-devel
Matt Rose wrote:
Just for fun (yeah, it was a real party) a few months ago I rebuild the CentOS CD using pungi. It took me about an hour, and gave me a bootable CentOS cd. My recommendation, only use the older methods if you really have to hack the installer, or anaconda.
your email client looks to be broken, or you should readup on howto format posts to a mailing list!
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Matt Rose wrote:
Just for fun (yeah, it was a real party) a few months ago I rebuild the CentOS CD using pungi. It took me about an hour, and gave me a bootable CentOS cd. My recommendation, only use the older methods if you really have to hack the installer, or anaconda.
Is that useful to test Anaconda's artwork ?
Cheers, - -- Alain Reguera Delgado al@ciget.cienfuegos.cu GnuPG : http://ciget.cienfuegos.cu/~al/publickey.asc