On 2020-03-01, bob prohaska wrote:
> This is probably a dumb question, but I'll ask anyway:
>
> Is it possible to download source code for the kernel and user
> software and rebuild the command line part of raspbian on the Pi?
>
> I understand it's not done that way, I'm merely curious.
>
> Thanks for reading,
>
In a Debian system, the source for every package is available as a sopurce
package. You need the right lines in your /etc/apt/sources.list file.
This includes the source for the kernel.
As Raspbian is essentially Debian, I'd expect it to be the same. Indeed
on my (very) old out-of-date Raspbian system I can download source files -
I simply added a "deb-src" line that the same as my "deb" line, and did
apt-get source some-package-name
in some directory where I want the source files to be stored.
This is documented on the debian wiki at
https://wiki.debian.org/Packaging/SourcePackage
I read very many responses to your query, but somehow they all seemed to
miss this fact! (mumble mumble mumble) from what I've seen I'm not sure
asking on the raspberry pi forums would a lot better - but I think you
would have got one or two better answers.
Jim
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|