3 ms·
Requiring packages to build the kernel source feels like a circular dependency to me. The kernel should contain all of its own source code.
by lodovic 5y ago
Requiring packages to build the kernel source feels like a circular dependency to me. The kernel should contain all of its own source code.
- nrabulinski 5y agoSo now a kernel cannot depend on anything? What about all the tooling that’s required like python, perl and many others or the fact that you have to have a working machine with the kernel already on it to build the kernel?
- yjftsjthsd-h 5y agoObviously you have to bootstrap from something. A more interesting case is NetBSD, which can bootstrap from just about anything; take a NetBSD src checkout, run ./build.sh, and it will first use the local tooling to build its own dependencies, then use those to build the system. So in some OSs, yes, you can more or less vendor in the universe. But that only works because *BSDs are developed as full systems, not just a kernel; Linux probably can't (and arguably shouldn't) do that.