From: "Philipp Steinpaß" <philipp@xndr.de>
To: devel@spectrum-os.org
Subject: Improving kernel build time
Date: Tue, 25 Aug 2020 14:53:21 +0200 [thread overview]
Message-ID: <87o8mydgzi.fsf@xndr.de> (raw)
Hi!
I read that development ist struggeling with long kernel build times
right now and as a former gentoo kid, I feel somewhat qualified to help
with that.
I had a look at the current way, nixos is building the kernel and I
think it's somewhat over engineered for spectrums needs right now, so I
propose to do the following:
* Exctract the current generic kernel .config from nixos
* make menuconfig with that on a generic linux kernel of the version
currently used in spectrum and remove as many modules as I can
* Circumvent the current nixos kernel configuration pretty much entirely
and supply the kernel .config by adding it directly to the git
repository for faster iteration
When a more elaborate kernel configuration scheme is needed again in the
future, the nixos one is still there and can be properly ported to
spectrums needs but right now I feel like it would only slow the process
down.
However I don't have much experience with the code, so when I get told
here that it's probably better to keep closer to nixpkgs, I'll give my
best with that, too.
Philipp
reply other threads:[~2020-08-25 12:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o8mydgzi.fsf@xndr.de \
--to=philipp@xndr.de \
--cc=devel@spectrum-os.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/crosvm
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/nixpkgs
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
https://spectrum-os.org/git/www
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).