Thursday, September 30, 2010

SBR600: Our two vistiors from Mozilla

First off i want to thank Mozilla for letting Armin and John out of there holes to come present to us.

I learned quite a lot about the process and the tough life that builders have. There task is to always improve the process, making it faster for the developers. They have taken a typical build process from what was typically done in weeks to days. Currently they can spit out a new build in under 24 hours. Now that is fast for fixing bugs/security issues. There key to success is automation and splitting tests up. As an example they used they had a test that used to run for a few hours but they split that up into 5 tests, some which may run for 15min, allowing another build to start that test while its running a different test.

Until next time!

Matt

SBR600: Building An RPM

Hi, everyone today im going to talk about building an RPM on a fedora system, alright lets get started...

Building an RPM

The first step to building an rpm package, is to download the source file of the program you want to build. This is done by using the command

yumdownloader --source PACKAGENAME

After that we must run the command

rpm -i PACKAGENAME

Once we have done that we can go to

~/rpmbuild/SPECS

To look at the SPEC file and find out some more information on this package, after weve done that the last step is to build it which can bed one using the command

build -ba PACKAGENAME.spec

Thats it! weve just buit our first RPM package... not that hard, next up working on a building it from a SPEC file

Friday, September 17, 2010

SBR600 Lab 2 - Playing with the -J option


Today, i found that the rpmmacros file controls how many jobs make will start. So i did some playing around below are my results.


I was a little surprised that 4 was the fastest time as i am running a duel core system. I did not automate this process, but if i did im sure the process would of been a bit faster. I tried to run these tests with my system doing as little as possible to make it a fair test, but without running the test hundreds of times and with different builds its hard to say if 4 is the best result for everything. What seems to affect the results are what the build is waiting for CPU , or disk as well.

Friday, September 10, 2010

SBR600 Lab 1 - First Complile

Install of nled

I have downloaded nled from here.

Then i tried to make it but i needed to install "ncurses-devel"
Below is a picture of nled

I then decided to compile another program, this time from SourceForge called cracklib.

This program helps to crack passwords against a library of words.

To install this program i had all the dependency's it needed.

SBR600 - My First Post!

Hi,

My name is Matthew. I am in my 6th semester at Seneca, and plan to go to University after. Below is a picture of my IRC converstaion
My IRC name is: Mathon



















Below is a link to my user page on Seneca Wiki
http://zenit.senecac.on.ca/wiki/index.php/User:Mathon
Below is a link to my user page on Fedora Wiki
https://fedoraproject.org/wiki/User:Mathon