From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Nikolaev Subject: Enable modules in Linux configuration. Date: Sat, 29 Jul 2017 22:33:00 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113d42f898f6df055579ddb9" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbXU0-0002q1-GW for help-guix@gnu.org; Sat, 29 Jul 2017 15:33:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbXTz-00037N-E0 for help-guix@gnu.org; Sat, 29 Jul 2017 15:33:04 -0400 Received: from mail-yw0-x229.google.com ([2607:f8b0:4002:c05::229]:33485) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbXTz-00036M-9g for help-guix@gnu.org; Sat, 29 Jul 2017 15:33:03 -0400 Received: by mail-yw0-x229.google.com with SMTP id p68so2081300ywg.0 for ; Sat, 29 Jul 2017 12:33:01 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix --001a113d42f898f6df055579ddb9 Content-Type: text/plain; charset="UTF-8" Hi everybody. I'm trying to set up GuixSD on Reiser4 file system. I've succeeded with patching and compiling Linux with Reiser4 patch, but I've found that reiser4 module is disabled by default. Everything I did was pointless 8-] How do I enable Reiser4 module in Linux configuration? As far as I know I need to add "REISER4_FS=m" to .config after running "make defconfig", but before "make". I've found an example of linux.scm with description how to build linux-libre with additional modules https://raw.githubusercontent.com/drewc/guix/master/gnu/packages/linux.scm But it looks too complex for me. Is there an easier way to enable additional modules in Linux configuration? Shouldn't I use "extra-options" in make-linux-libre function? How could I do that? One more question for GuixSD maintainers: will you add linux-libre-reiser4, libaal and reiser4progs packages to main package repository if I'll send you patches? Dmitry Nikolaev --001a113d42f898f6df055579ddb9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everybody.

I'= m trying to set up GuixSD on Reiser4 file system. I've succeeded with p= atching and compiling Linux with Reiser4 patch, but I've found that rei= ser4 module is disabled by default. Everything I did was pointless 8-]
<= br>
How do I enable Reiser4 module in Linux configuration? As far as I= know I need to add "REISER4_FS=3Dm" to .config after running &qu= ot;make defconfig", but before "make".

I've= found an example of linux.scm with description how to build linux-libre wi= th additional modules

https://raw.githubusercontent.com/= drewc/guix/master/gnu/packages/linux.scm

But it looks too = complex for me. Is there an easier way to enable additional modules in Linu= x configuration? Shouldn't I use "extra-options" in make-linu= x-libre function? How could I do that?

One more question = for GuixSD maintainers: will you add linux-libre-reiser4, libaal and reiser= 4progs packages to main package repository if I'll send you patches?
Dmitry Nikolaev
--001a113d42f898f6df055579ddb9-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: Enable modules in Linux configuration. Date: Sun, 30 Jul 2017 09:33:56 +0000 Message-ID: <20170730093356.psqt64per62qnnh6@abyayala> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jz2aysdci2q6r6fh" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbkbz-0004u4-Vw for help-guix@gnu.org; Sun, 30 Jul 2017 05:34:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbkbv-0002K7-Ub for help-guix@gnu.org; Sun, 30 Jul 2017 05:34:12 -0400 Received: from aibo.runbox.com ([91.220.196.211]:45368) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbkbv-0002IW-Nh for help-guix@gnu.org; Sun, 30 Jul 2017 05:34:07 -0400 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Dmitry Nikolaev Cc: help-guix --jz2aysdci2q6r6fh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dmitry Nikolaev transcribed 2.4K bytes: > Hi everybody. >=20 > I'm trying to set up GuixSD on Reiser4 file system. I've succeeded with > patching and compiling Linux with Reiser4 patch, but I've found that > reiser4 module is disabled by default. Everything I did was pointless 8-] >=20 =E2=80=A6 I'm going to respond only to this part: > will you add linux-libre-reiser4, > libaal and reiser4progs packages to main package repository if I'll send > you patches? That depends mainly on the licenses, from my point of view. I haven't looked into the sources, but from what other systems provide: - libaal: GPL2 - reiser4progs: GPL2 and I think the reiser4 patches were GPL2 too? The other question is, will someone maintain this linux-libre package variation? Are there people who would update it? We don't assign people to packages, but knowing that there is at least one person caring for it would help. > Dmitry Nikolaev --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://n0is.noblogs.org/my-keys https://www.infotropique.org https://krosos.org --jz2aysdci2q6r6fh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAll9qAQACgkQ4i+bv+40 hYhfgg/6AmJKLb4p/jRUhgH7RiouzE8NNhopzJdtauO+gkJNX/FXa+5roKLcunAP yylYVU21seuLxf+PThQy9qWmdRiaWhcbcdoYijdMbe6zLHdGmXZRA/p6UbwFx7w6 lfsPqtS5ihgTp750PDIgd9FPdpz2fWDvyatoC183YDu9D3wZPlfJ2oSye5TsbKji ua2pEdSFwDx9o/opqR6CDsGWf9OpqBfE8s6N0vIaNi3llicQt/MOhZjurqAMMQag l7/6dA5OaQvDjkXVJBEK5u+5px5gcXsLbkAlDTslbS7aGl7MTbpaVyXIynhvA2IF MqSqVsOe3BxDYH59HGhBwD6n/RXOvMDAiWQ4DItsBbOGDkcUgCKD/HFh6fK0XnqC hyUO8q/wDo/nrFA5oBaaelBUOg36l/uVCRoTedzutwdmPAMBpAOmzE3I3k6Tz93z 0NdqJHO5CNCobOLolTOGBRIloU1ZodqTtA24XP0sKYFSmq2gcHMRS0XpHwGa4rqO 2vpmuIGJtQRcEDUbkRKiyrnU0Ho8KqdRIlXeE10s50xPT1i8tex/CIooa3Nwc2WO iGEqMYDQgO2f8KNPSdzdgJxUw6kyTjH/lClyZT3WUwvN1mFIairRYjUOLjhSKWdj B2D1zPdbD+ziJG7DyjCdV3mM94aeH/xrrwUFZH2KWt/xA5Fxz+o= =oOMJ -----END PGP SIGNATURE----- --jz2aysdci2q6r6fh-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joshua Branson Subject: Re: Enable modules in Linux configuration. Date: Sun, 30 Jul 2017 18:11:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbsgK-0002jK-6M for help-guix@gnu.org; Sun, 30 Jul 2017 14:11:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbsgG-0006mu-1E for help-guix@gnu.org; Sun, 30 Jul 2017 14:11:12 -0400 Received: from mail-oln040092011051.outbound.protection.outlook.com ([40.92.11.51]:63664 helo=NAM04-SN1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dbsgF-0006lo-IW for help-guix@gnu.org; Sun, 30 Jul 2017 14:11:07 -0400 In-Reply-To: Content-Language: en-US Content-ID: <71EB549B2C6E5146BD720EB9C5679B05@namprd10.prod.outlook.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces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2YgbGludXguc2NtIHdpdGggZGVzY3JpcHRpb24gaG93IHRvIGJ1aWxkIA0KPiBsaW51eC1s aWJyZSB3aXRoIGFkZGl0aW9uYWwgbW9kdWxlcw0KPg0KPiBodHRwczovL3Jhdy5naXRodWJ1c2Vy Y29udGVudC5jb20vZHJld2MvZ3VpeC9tYXN0ZXIvZ251L3BhY2thZ2VzL2xpbnV4LnNjbQ0KPg0K PiBCdXQgaXQgbG9va3MgdG9vIGNvbXBsZXggZm9yIG1lLiBJcyB0aGVyZSBhbiBlYXNpZXIgd2F5 IHRvIGVuYWJsZSANCj4gYWRkaXRpb25hbCBtb2R1bGVzIGluIExpbnV4IGNvbmZpZ3VyYXRpb24/ IFNob3VsZG4ndCBJIHVzZSANCj4gImV4dHJhLW9wdGlvbnMiIGluIG1ha2UtbGludXgtbGlicmUg ZnVuY3Rpb24/IEhvdyBjb3VsZCBJIGRvIHRoYXQ/DQo+DQo+IE9uZSBtb3JlIHF1ZXN0aW9uIGZv ciBHdWl4U0QgbWFpbnRhaW5lcnM6IHdpbGwgeW91IGFkZCANCj4gbGludXgtbGlicmUtcmVpc2Vy NCwgbGliYWFsIGFuZCByZWlzZXI0cHJvZ3MgcGFja2FnZXMgdG8gbWFpbiBwYWNrYWdlIA0KPiBy ZXBvc2l0b3J5IGlmIEknbGwgc2VuZCB5b3UgcGF0Y2hlcz8NCj4NCj4gRG1pdHJ5IE5pa29sYWV2 DQoNCg== From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: Enable modules in Linux configuration. Date: Sun, 30 Jul 2017 18:18:01 +0000 Message-ID: <20170730181801.jvjjqhp5vvegwfbu@abyayala> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jbdlwgnhr7kqo75o" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbsnA-0003LW-J0 for help-guix@gnu.org; Sun, 30 Jul 2017 14:18:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbsn6-0002yL-EI for help-guix@gnu.org; Sun, 30 Jul 2017 14:18:16 -0400 Received: from aibo.runbox.com ([91.220.196.211]:39462) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbsn6-0002uy-6R for help-guix@gnu.org; Sun, 30 Jul 2017 14:18:12 -0400 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Joshua Branson Cc: "help-guix@gnu.org" --jbdlwgnhr7kqo75o Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Joshua Branson transcribed 1.7K bytes: > I feel like your life would be so much simplier if you just used ext4 or= =20 > XFS. I can hand you work in progress (but-not-really-because-currently -otherwise-busy) xfs + xfs/static patches if you want XFS instead of reiser4. > On 07/29/2017 03:33 PM, Dmitry Nikolaev wrote: > > Hi everybody. > > > > I'm trying to set up GuixSD on Reiser4 file system. I've succeeded=20 > > with patching and compiling Linux with Reiser4 patch, but I've found=20 > > that reiser4 module is disabled by default. Everything I did was=20 > > pointless 8-] > > > > How do I enable Reiser4 module in Linux configuration? As far as I=20 > > know I need to add "REISER4_FS=3Dm" to .config after running "make=20 > > defconfig", but before "make". > > > > I've found an example of linux.scm with description how to build=20 > > linux-libre with additional modules > > > > https://raw.githubusercontent.com/drewc/guix/master/gnu/packages/linux.= scm > > > > But it looks too complex for me. Is there an easier way to enable=20 > > additional modules in Linux configuration? Shouldn't I use=20 > > "extra-options" in make-linux-libre function? How could I do that? > > > > One more question for GuixSD maintainers: will you add=20 > > linux-libre-reiser4, libaal and reiser4progs packages to main package= =20 > > repository if I'll send you patches? > > > > Dmitry Nikolaev >=20 --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://n0is.noblogs.org/my-keys https://www.infotropique.org https://krosos.org --jbdlwgnhr7kqo75o Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAll+ItkACgkQ4i+bv+40 hYjc+RAArsPrX/f5yqGSv0XOW7zCSF3dkEVqGDD2ph+iJ9FBeCjsT3WoTl0W2Pkc BlUfwsfUKKVTvoDe5qdyAn1L+h31nVw1xi1rKCtHCPf4ea71NQnkJd4mus/EPWnI WcRpbOZuesznGbhr7/O2biUM+/b1rSX7UzqQF1toTriY725acwuw9Ob8Y72vE1Ng Te4HPeLJIVg2187sVMz30F1ZSBDrH8GRIdYpKrYXn17QWstqEs5Q0h2uN113bREj 5i8m7I94AReYwUB/qoffpoGd0RFYqWBljRQJnGIEeL7w6OXArt0/lQyQ0dj8M/4F u6BGwDyUJ9vH2enI19nCFcLB7Ts4BsG2btVScNvOnvPqX8y03GDAEQrXXR+FU0YO pL164xvMWrU9PYvGRvWG35gbF4R7QvdVxTKVnbEdnuZCe5RqelM/y0qreDXiaN0W 2lqPJJWXRc6umL1okMMYdRwhOG0F6rN+6Yn6w6Ha7hFFduY5IQGEBdFPzGWekvUv dQ+0CuCgbT4/7IeKgc+by5pO7K3IJSa7sdAM5D+ml8L9QdbRT31WH3ZchDTSEGD6 gTuHy+DLlgHm2b9UAa/IQPVOftpOayH/6rJWwHf9aLrDsprFFWHBQvprvCNC/uww FgqyZl9WiEz61V8XmS5LXOVdJK7ezex8uoPY/87mHvsrgqgHBxY= =a3Yt -----END PGP SIGNATURE----- --jbdlwgnhr7kqo75o-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Enable modules in Linux configuration. Date: Mon, 31 Jul 2017 07:45:35 -0400 Message-ID: <87tw1szv6o.fsf@netris.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dc98x-0000fS-PD for help-guix@gnu.org; Mon, 31 Jul 2017 07:45:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dc98u-0002Ty-NJ for help-guix@gnu.org; Mon, 31 Jul 2017 07:45:51 -0400 Received: from world.peace.net ([50.252.239.5]:53513) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dc98u-0002Th-Eg for help-guix@gnu.org; Mon, 31 Jul 2017 07:45:48 -0400 In-Reply-To: (Dmitry Nikolaev's message of "Sat, 29 Jul 2017 22:33:00 +0300") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Dmitry Nikolaev Cc: help-guix Hi, Dmitry Nikolaev writes: > I'm trying to set up GuixSD on Reiser4 file system. I've succeeded > with patching and compiling Linux with Reiser4 patch, but I've found > that reiser4 module is disabled by default. Everything I did was > pointless 8-] > > How do I enable Reiser4 module in Linux configuration? As far as I > know I need to add "REISER4_FS=m" to .config after running "make > defconfig", but before "make". You would also need to add Reiser4-related code to (gnu system linux-initrd) and (gnu build file-systems). Search for "btrfs" in our source tree to get an idea of what code needs to be added. > One more question for GuixSD maintainers: will you add > linux-libre-reiser4, libaal and reiser4progs packages to main package > repository if I'll send you patches? As long as the licenses comply with the GNU FSDG, I see no obstacle to merging 'libaal' and 'reiser4progs' to the main repository. However, 'linux-libre-reiser4' makes me a bit nervous. As the de-facto maintainer of our linux-libre packages, my main concern is the additional maintenance burden going forward. Every time a new major version of 'linux-libre' is released, the job of updating and testing the reiser4 patch would fall on my shoulders. However, I can tell you from personal experience that it is quite easy to run GuixSD from your own private git branch, and to periodically rebase your local changes on our upstream master branch (or, if you prefer, to merge upstream master into your local branch). I've been doing this for a long time. My method is to have a git checkout in my home directory that is always kept in good working order, and then to put the following script in ~/bin/guix and ~root/bin/guix: #!/bin/sh exec /home/mhw/guix/pre-inst-env guix "$@" I also add "PATH=/home/mhw/bin:$PATH" to my .bash_profile, and the analogous thing for root. Let me know if you need help setting this up. Regards, Mark From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Enable modules in Linux configuration. Date: Mon, 31 Jul 2017 07:57:11 -0400 Message-ID: <87pocgzunc.fsf@netris.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dc9KB-00034n-PJ for help-guix@gnu.org; Mon, 31 Jul 2017 07:57:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dc9K8-0002Y1-Oz for help-guix@gnu.org; Mon, 31 Jul 2017 07:57:27 -0400 Received: from world.peace.net ([50.252.239.5]:53538) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dc9K8-0002XN-Kr for help-guix@gnu.org; Mon, 31 Jul 2017 07:57:24 -0400 In-Reply-To: (Dmitry Nikolaev's message of "Sat, 29 Jul 2017 22:33:00 +0300") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Dmitry Nikolaev Cc: help-guix Hi again, Dmitry Nikolaev writes: > How do I enable Reiser4 module in Linux configuration? As far as I > know I need to add "REISER4_FS=m" to .config after running "make > defconfig", but before "make". Sorry, I realize that I didn't answer this question in my last message. It might be sufficient to merely add "REISER4_FS=m" to gnu/packages/aux-files/linux-libre/-.conf in the Guix source tree. However, if there are other configuration options that need to be changed to accommodate Reiser4, then this might not be enough. The more general method is to unpack a copy of the linux-libre source tree, copy the appropriate config file from the Guix source tree to .config in the top-level linux-libre source, run "make oldconfig" (or whichever *config target you prefer) to update the config, and then copy the updated .config file back to the Guix source tree. A good way to unpack the source is to run "guix build -S linux-libre" (or your own variant package), and then "tar xf" on the returned file name. A good way to make sure you have the necessary software in your environment to run "make oldconfig" is to run "guix environment linux-libre" and then work within the spawned shell. Mark From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: Enable modules in Linux configuration. Date: Mon, 31 Jul 2017 23:39:14 +0200 Message-ID: <87379cxp4t.fsf@fastmail.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcIPI-0005ZU-6c for help-guix@gnu.org; Mon, 31 Jul 2017 17:39:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcIPF-0002xL-2i for help-guix@gnu.org; Mon, 31 Jul 2017 17:39:20 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:33361) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dcIPE-0002wm-Pq for help-guix@gnu.org; Mon, 31 Jul 2017 17:39:16 -0400 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Dmitry Nikolaev , help-guix --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Dmitry Nikolaev writes: > But it looks too complex for me. Is there an easier way to enable > additional modules in Linux configuration? Shouldn't I use "extra-options" > in make-linux-libre function? How could I do that? I suppose we could export the various Linux-Libre variables so that the following (untested) would work: =2D-8<---------------cut here---------------start------------->8--- (use-package-modules linux) (operating-system (kernel (make-linux-libre %linux-libre-version %linux-libre-hash %intel-compatible-systems #:extra-options (cons ("CONFIG_REISER4" . m) %default-extra-linux-options) =2D-8<---------------cut here---------------start------------->8--- It would be a convenient way to add custom options and patches without maintaing a full-blown kernel configuration on the side. Just to cover all bases, here's what I do today for a custom kernel configuration file next to a GuixSD 'config.scm': =20 =2D-8<---------------cut here---------------end--------------->8--- (define-module (my packages) #:use-module (gnu packages linux)) (define kernel-config (string-append (dirname (current-filename)) "/kernel.config")) (define-public my-kernel (package (inherit linux-libre) (native-inputs `(("kconfig" ,kernel-config) ,@(alist-delete "kconfig" (package-native-inputs linux-libre)))))) (use-modules (my packages)) (operating-system [...] (kernel my-kernel) =2D-8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAll/o4IACgkQoqBt8qM6 VPq9Dgf9Gjbkkxfs2eLTBJGJPC6AHeq1zjK14CZ11qJ6C7rY54HIJwzBpq6Ivk+q 8FN9MViK+AohUyrcJQn8OPIZm0iSaa6ZbDiX8xeVxBCrL56ec2KON5du5oBEO+bI g2l2YlME6gbUupuAw9Bn41OzElLWsDPpVldrKCAUxcFmT/aSAQj/w8MEkcxPZAEc buKCDoxU9BI1Dl3jrjzQuo1/eWopG4SlyW+RuKA73iUNKmeZv9VfpYJxYnLKG7XB Pr+R0P4wAdCTq/l68Eeti7uiqcDuBmkKmbXckVaSQ8ADQnNxe7wQfA8b7iKFTLqj 9qCILQTNzNZgDHAhPyPDPYWTHy9vpw== =Ux7f -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joshua Branson Subject: Re: Enable modules in Linux configuration. Date: Wed, 2 Aug 2017 14:37:51 +0000 Message-ID: References: <87379cxp4t.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcumb-0005GV-1V for help-guix@gnu.org; Wed, 02 Aug 2017 10:37:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcumX-0003yq-T4 for help-guix@gnu.org; Wed, 02 Aug 2017 10:37:57 -0400 Received: from mail-oln040092011030.outbound.protection.outlook.com ([40.92.11.30]:9122 helo=NAM04-SN1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dcumX-0003yL-Gm for help-guix@gnu.org; Wed, 02 Aug 2017 10:37:53 -0400 In-Reply-To: <87379cxp4t.fsf@fastmail.com> Content-Language: en-US Content-ID: <6B7580E043ACB540A9E58B29A73EC6C3@namprd10.prod.outlook.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: "help-guix@gnu.org" V293ISAgSSBkaWQgbm90IGtub3cgdGhhdCB5b3UgY291bGQgdXNlIGd1aXhTRCB0byBtYWludGFp biBzcGVjaWZpYyANCnZlcnNpb25zIG9mIHBhY2thZ2VzISAgSGF2aW5nIGl0IG1hbmFnZSBhIGN1 c3RvbSBsaW51eCBrZXJuZWwgaXMgcHJldHR5IA0KYXdlc29tZSENCg0KDQpPbiAwNy8zMS8yMDE3 IDA1OjM5IFBNLCBNYXJpdXMgQmFra2Ugd3JvdGU6DQo+IERtaXRyeSBOaWtvbGFldiA8Y2FtZWx0 aGVtYW5AZ21haWwuY29tPiB3cml0ZXM6DQo+DQo+PiBCdXQgaXQgbG9va3MgdG9vIGNvbXBsZXgg Zm9yIG1lLiBJcyB0aGVyZSBhbiBlYXNpZXIgd2F5IHRvIGVuYWJsZQ0KPj4gYWRkaXRpb25hbCBt b2R1bGVzIGluIExpbnV4I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