If you run "apt-get source linux-source-2.6.20" it will download and unpack the latest copy of the source. "apt-get build-dep linux-source-2.6.20" will fetch all the corresponding build-dependencies of the source package. Run "apt-get install build-essential dpkg-dev fakeroot" to make sure you have the latest Debian package building stuff.
To build the source tree, you can run "dpkg-buildpackage -rfakeroot" which will build the whole shebang. If you only want to rebuild the linux-image you can run "fakeroot debian/rules binary-debs flavours=FLAVOUR" to only build the binary packages for a specific flavour.
You can use similar commands to fetch the "linux-restricted-modules-2.6.20" source package. You'll need to reinstall your linux-headers package from building the linux-source package to build l-r-m against the new headers.
Hi Roland,
If you run "apt-get source linux-source- 2.6.20" it will download and unpack the latest copy of the source. "apt-get build-dep linux-source- 2.6.20" will fetch all the corresponding build-dependencies of the source package. Run "apt-get install build-essential dpkg-dev fakeroot" to make sure you have the latest Debian package building stuff.
To build the source tree, you can run "dpkg-buildpackage -rfakeroot" which will build the whole shebang. If you only want to rebuild the linux-image you can run "fakeroot debian/rules binary-debs flavours=FLAVOUR" to only build the binary packages for a specific flavour.
You can use similar commands to fetch the "linux- restricted- modules- 2.6.20" source package. You'll need to reinstall your linux-headers package from building the linux-source package to build l-r-m against the new headers.
Cheers,
Kyle