I want to time how long it takes to compile the latest version of Red Hat Enterprise Linux 6. I have downloaded the SRPMs from the Red Hat's FTP server.
How do I time how long it takes to compile all of the packages?
I want to time how long it takes to compile the latest version of Red Hat Enterprise Linux 6. I have downloaded the SRPMs from the Red Hat's FTP server.
How do I time how long it takes to compile all of the packages?
I'm not going to blow up my workstation for days on end by testing this, but given a directory of SRPMS I don't see why this wouldn't work:
time (for RPM in $(ls *.srpm); do rpmbuild --rebuild $RPM; done)
Create a build environment and and set up a long chain of rpmbuild --rebuild packagename.srpm
commands...
But the better* approach is to simply go to CentOS.org. Download the ISO images for the current release from a local mirror server.
*Assuming you're not modifying any packages.