From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: custom kernel config Date: Wed, 03 Apr 2019 21:49:59 +0200 Message-ID: <871s2iuavs.fsf@mimimi.i-did-not-set--mail-host-address--so-tickle-me> References: <20190401180434.GF21029@macbook41> <87wokb1pg1.fsf@gmail.com> <20190403190404.GB1203@macbook41> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:44557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBltd-0002J0-2Z for guix-devel@gnu.org; Wed, 03 Apr 2019 15:50:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBltb-0004YY-Qi for guix-devel@gnu.org; Wed, 03 Apr 2019 15:50:04 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:42935) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBltb-0004SF-Df for guix-devel@gnu.org; Wed, 03 Apr 2019 15:50:03 -0400 In-Reply-To: <20190403190404.GB1203@macbook41> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Efraim Flashner , Chris Marusich Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thank you Efraim, this is awesome! Efraim Flashner writes: > For the first one I used the #:extra-options route and compiled a list. > The second one I tried I created a custom kernel and left #:defconfig as > #f and inherited that to add a kconfig to the native-inputs. Oh, I think I had missed the #:defconfig option when I tried. > Once I read a bit more of the kernel documentation it wasn't too bad to > create a list of what I needed. Which documentation in particular? > tar xf $(guix build linux-libre -S) > cd linux-libre > touch .config > guix environment linux-libre > make localmodconfig > > copy that into .config Copy what into .config? > and fix the formatting > > make localmodconfig Why fixing the formatting? How? With a second `make localmodconfig'? > if that works well enough then add "CONFIG_MODULES=3Dy" to .config and > you're ready to try it out. What does CONFIG_MODULES=3Dy change? (Not on my computer now, can't check in my local linux checkout.) This walkthrough is invaluable in my opinion. So far I was under the impression that many members of the Guix community were annoyed by kernel compilation time and had tried to customize it, but it's really hard. This process would make for an excellent blog article in my opinion! :D =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlylDmcACgkQm9z0l6S7 zH+MxQf/e9yLYBL2raJKrnwjLcCTEuAoghF0Zu++YakagjeDpXJukpF+gS1EcRK6 tgb/HRVvgtUA3zAdr8e7IyWX6rKXcCEU0VkXbac5n2sd7WKQwHpJeTNUD13TA1Fu J0KszGsmVFIevQAuTrsO3NEPcQdSaHMpxWOWS21WtyQjGz00ybDCEHaZOSP1/U1e ydbm9y0BsSTD6WXDKls1ksHdMtCumbwCqz3JQ6qPiQQN57JBVxywC8fGfivTcLGR GtAWLJsYegLGLqnugSaV1gfwZ/qho0dD1F0GGdoxuOyX3ec9Iaxio3LT4p5y5ctp euztasrwu8wvvXvvtaYlVnWfHj35IA== =FBGj -----END PGP SIGNATURE----- --=-=-=--