|
| View previous topic :: View next topic |
| Author |
Message |
john maclean
|
Posted: Mon Jul 19, 2004 3:33 pm Post subject: d-loading source code via apt-get |
|
|
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! |
|
 |
stevo32
|
Posted: Mon Jul 19, 2004 3:39 pm Post subject: |
|
|
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). |
|
 |
jebba
|
Posted: Mon Jul 19, 2004 4:16 pm Post subject: |
|
|
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/linux/10000/en/os/i386/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 |
|
|
|
 |
john maclean
|
Posted: Mon Jul 19, 2004 11:17 pm Post subject: |
|
|
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! |
|
 |
|
|
|