BLAG

BLAG Forums
It is currently Sat Dec 20, 2014 9:42 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Mon Jul 19, 2004 3:33 pm 
Offline
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
Hi guys,

I have BLAG 10k on a laptop and I'd like to see the "light". What is the method for downloading the source code? Is it something like..

`apt-get install source kernel Linux-2.4.-xxx` Where xx is the build number?

Thanks

_________________
BLAG 'em up!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 19, 2004 3:39 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 6:08 pm
Posts: 973
Location: Canada
2.4.22-1.2188.nptl,

_________________
E-mail me at s.clement@localhost (replace localhost with sympatico.ca) or stevo32@localhost (replace localhost with blagblagblag.org).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 19, 2004 4:16 pm 
Offline
Site Admin

Joined: Sun Mar 14, 2004 3:17 pm
Posts: 4492
Location: Loveland, Colorado, USA
One of the RedHat guys changed the name to the kernel source package mid-stream. I think it had the same name since, oh, 1995 or so. The change was unannounced--it just appeared during an update. Anyway, he thought it would be real smart to change it, and since it's a community he got his way despite everyone loudly complaining.

Anyway, the files you are looking for are named either kernel-source or kernel-sourcecode.

These are i386 rpms--e.g. kernel-sourcecode-2.6.6-1.435.2.3.noarch.rpm (this for blag2k).

The kernel is a bit of an anomoly in this case. Most source code is in .src.rpm form. E.g.:
streamtuner-0.12.3-1.rhfc2.nr.src.rpm

For source, you want the .src.rpm package. They are in the SRPMS directory on the ftp site . For 10000:
ftp://ftp.blagblagblag.org/pub/BLAG/lin ... 386/SRPMS/

I don't have the SRPMS apt-gettable at this point.

Code:
apt-get update

apt-get install rpm-build

cd /usr/src/redhat/SRPMS/

wget \ ftp://ftp.blagblagblag.org/pub/BLAG/linux/10000/en/os/i386/SRPMS/streamtuner-0.11.1-10blag.fc1.src.rpm

rpm -Uvh streamtuner-0.11.1-10blag.fc1.src.rpm

cd /usr/src/redhat/SPECS

vi streamtuner.spec   (change "blag" to your build name)

rpmbuild -bb streamtuner.spec   ("build binary")

rpmbuild -bs streamtuner.spec   ("build source" / SRPM)

ls /usr/src/redhat/BUILD/streamtuner-0.11.1

ls /usr/src/redhat/SRPMS

ls /usr/src/redhat/RPMS/i386


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 19, 2004 11:17 pm 
Offline
Site Admin

Joined: Wed Mar 17, 2004 6:17 pm
Posts: 1340
Location: London, UK
Thanks jeb. I installed it via synaptic. Under "Development/System". I selected the first source code entry and i was away! takes about 10 mins to d-load 200 mb over a broadband connection :lol:

_________________
BLAG 'em up!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group