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