unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: 宋文武 <iyzsong@member.fsf.org>, 37398@debbugs.gnu.org
Subject: [bug#37398] [PATCH 1/2] gnu: linux-libre: Enable all nftables family modules.
Date: Fri, 13 Sep 2019 17:41:57 +0200	[thread overview]
Message-ID: <874l1gb3ui.fsf@devup.no> (raw)
In-Reply-To: <87o8zoe1eb.fsf@member.fsf.org>

[-- Attachment #1: Type: text/plain, Size: 1613 bytes --]

iyzsong@member.fsf.org (宋文武) writes:

> 宋文武 <iyzsong@member.fsf.org> writes:
>
>> * gnu/packages/aux-files/linux-libre/4.19-arm.conf,
>> gnu/packages/aux-files/linux-libre/4.19-arm64.conf,
>> gnu/packages/aux-files/linux-libre/4.19-i686.conf,
>> gnu/packages/aux-files/linux-libre/4.19-x86_64.conf,
>> gnu/packages/aux-files/linux-libre/5.2-arm.conf,
>> gnu/packages/aux-files/linux-libre/5.2-arm64.conf,
>> gnu/packages/aux-files/linux-libre/5.2-i686.conf,
>> gnu/packages/aux-files/linux-libre/5.2-x86_64.conf: Set CONFIG_NF_TABLES_INET,
>> CONFIG_NF_TABLES_NETDEV, CONFIG_NF_TABLES_IPV4, CONFIG_NF_TABLES_ARP,
>> CONFIG_NF_TABLES_IPV6, and CONFIG_NF_TABLES_BRIDGE to 'm'.
>
> I got 5.2 built now, and it doesn't work, may have to be enabled as 'y',
> will investigate it later...

In general, when making changes to the kernel configuration, you need to
use the interactive configuration system provided by the kernel build
system.  The reason is that many options have dependencies: if you set
CONFIG_FOO=y, CONFIG_BAR might also need to be y.

Using the configuration system ensures these dependencies are handled
properly.  Here is one way to do that on Guix:

$ tar -xf $(guix build -S linux-libre) -C /tmp
$ cd /tmp/linux-libre-5.2.13
$ guix environment linux-libre --ad-hoc ncurses
$ cp /your/guix/checkout/gnu/packages/aux-files/linux-libre/5.2-x86_64.conf .config
$ make oldconfig
$ make nconfig
$ cp .config /your/guix/checkout/gnu/packages/aux-files/linux-libre/5.2-x86_64.conf

I don't have time to go into more details right now, but hope this helps!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2019-09-13 15:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-13 10:06 [bug#37398] [PATCH 0/2]: services: Add nftables-service-type 宋文武
2019-09-13 10:17 ` [bug#37398] [PATCH 1/2] gnu: linux-libre: Enable all nftables family modules 宋文武
2019-09-13 10:17   ` [bug#37398] [PATCH 2/2] services: Add nftables-service-type 宋文武
2019-09-13 14:06   ` [bug#37398] [PATCH 1/2] gnu: linux-libre: Enable all nftables family modules 宋文武
2019-09-13 15:41     ` Marius Bakke [this message]
2019-09-14  4:02       ` 宋文武
2019-09-14 10:02         ` Danny Milosavljevic
2019-09-15 10:09           ` 宋文武
2019-09-23  0:04             ` Vagrant Cascadian
2019-09-18 11:05 ` bug#37398: [PATCH 0/2]: services: Add nftables-service-type 宋文武

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874l1gb3ui.fsf@devup.no \
    --to=mbakke@fastmail.com \
    --cc=37398@debbugs.gnu.org \
    --cc=iyzsong@member.fsf.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://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).