From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.3 (2019-12-06) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.3 Received: by atuin.qyliss.net (Postfix, from userid 496) id 0D54424A4; Tue, 25 Aug 2020 12:53:41 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 4A1F42452; Tue, 25 Aug 2020 12:53:34 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id D8BA12432; Tue, 25 Aug 2020 12:53:31 +0000 (UTC) Received: from mail.xndr.de (mail.xndr.de [176.9.45.248]) by atuin.qyliss.net (Postfix) with ESMTPS id AEA972431 for ; Tue, 25 Aug 2020 12:53:29 +0000 (UTC) From: Philipp =?utf-8?Q?Steinpa=C3=9F?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xndr.de; s=mail; t=1598360009; bh=Ol9CekkshFjuIiZ6Huq4IPAi3n2hUSAS0AvpTcP79+k=; h=From:To:Subject:Date; b=M4Fn4BQerb6cjR7teVE1FkLorJN7Thv42Po00WWhf0DQoyWsoywHchhNV9SqU2hpk tk1YzxFXQCd9+D2h+1C4aMRAP+MBeahEcYuudA9+GRuXiFqq5AKnxkpXEafw+FqC6W JOu41rSamE7Qfnvs+oW5MSXyOf5qwTX7vq+lE/KU= To: devel@spectrum-os.org Subject: Improving kernel build time Date: Tue, 25 Aug 2020 14:53:21 +0200 Message-ID: <87o8mydgzi.fsf@xndr.de> MIME-Version: 1.0 Content-Type: text/plain Message-ID-Hash: XLY3F5NJKEWASWDBBOJ7KJBLX2ZKLAHZ X-Message-ID-Hash: XLY3F5NJKEWASWDBBOJ7KJBLX2ZKLAHZ X-MailFrom: philipp@xndr.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.3.1 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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