From patchwork Thu Jun 20 16:59:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Titouan Christophe X-Patchwork-Id: 1119590 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=railnova.eu Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=railnova-eu.20150623.gappssmtp.com header.i=@railnova-eu.20150623.gappssmtp.com header.b="y/3WI4pR"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45V7Nc6Xkrz9s4Y for ; Fri, 21 Jun 2019 03:00:16 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A9C27860AE; Thu, 20 Jun 2019 17:00:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PB3vYGXgmuqM; Thu, 20 Jun 2019 17:00:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 303608607D; Thu, 20 Jun 2019 17:00:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 289EB1BF5E9 for ; Thu, 20 Jun 2019 17:00:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2556086CDB for ; Thu, 20 Jun 2019 17:00:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dekzTFBrFZx8 for ; Thu, 20 Jun 2019 17:00:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ed1-f66.google.com (mail-ed1-f66.google.com [209.85.208.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 559B48474A for ; Thu, 20 Jun 2019 17:00:10 +0000 (UTC) Received: by mail-ed1-f66.google.com with SMTP id e3so5648298edr.10 for ; Thu, 20 Jun 2019 10:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=railnova-eu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/Uf6GEFSv8Ky5XWDxRUf0Q79x1KjiJ5ejAfBJmtPack=; b=y/3WI4pRVkqUgtk37ObwyhSvTbA4Pmuz4QWPsxKVwvlOtU/vlhzsKijl0qhFm9GZFT EM4dAAGxSfXe3KzMtsyH2ORIven9zhE/d8tyYKo9reY/2mSZqxiGTJIoDwLJpfHLZYXO 5K4GZzsaYOe5n7fWVRpXpBVhxnTyz41Nc9cXOZmZBZVwid/YNI8fMNfd9TpEmeOVkH0M Yvq3FL7HGvXFYBEZk1o0uwJsCwFdCErx6oAf3BR+l4MVJ9gVS4c2nTnuRqV6vb/JNpTn FAIwUf4m3kGhHf6hYUmhgXhNKTu5I9GM9yVsK/aHoixoJddcOlxgaUdvQyQfm7dzM59Q YcNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/Uf6GEFSv8Ky5XWDxRUf0Q79x1KjiJ5ejAfBJmtPack=; b=PcYzBZ502ejfT7MF6vWl9h4q9zYSwPzoKZIhbMGLGK7K8jWNVFBa0XXhNSjuF/qJ3C 2PHvwMMVzv4vlyiFTLHR2kPhAlaBJNUBHWYhqlkCs5MDZIVODkxfxReKRlpHnu8CJ479 IleeWX9ZvqZgOy8/Tn+MGSEtWqmlrSvyaEY6Sg3705QUOx//Z1513EEz6Fs80q/G6aDm x1clc8uGmmBbI1RE8Aodr8r6OlxJKvxTDgZ8IwU7pYFMdafZrPzn7Gi81qGIgbf+/Yu5 O4awzjXuApILkaxoM4lZbcXtevuDug94EHCjV0rzQ4f3qXW+a8QXs8ufF5X/Jz/Ot+Fh 8mSw== X-Gm-Message-State: APjAAAUBGm+rizSvQAu1xHnYqJGjlIIuUnuM1jB+KkbFdY6xm6KG1DWO RxYxlp93rkM9WnDkJ9CMykSIe59Gzf8w71v+ X-Google-Smtp-Source: APXvYqwEpAiiCzP68D6WfiDhirlGA7PJv5EQUaxIPU6K86BK4zZu3jQjLj+sscpxuDvDHlbQNsPEyQ== X-Received: by 2002:a17:907:2091:: with SMTP id pv17mr69511180ejb.152.1561050008686; Thu, 20 Jun 2019 10:00:08 -0700 (PDT) Received: from taurus.fritz.box ([77.109.77.212]) by smtp.gmail.com with ESMTPSA id g37sm33233edb.50.2019.06.20.10.00.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jun 2019 10:00:07 -0700 (PDT) From: Titouan Christophe To: buildroot@buildroot.org Date: Thu, 20 Jun 2019 18:59:44 +0200 Message-Id: <20190620165944.71127-1-titouan.christophe@railnova.eu> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] linux: Force CONFIG_NET=y when using mdev+devtempfs for /dev management X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Titouan Christophe Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Since mdev was switched to the daemon mode introduced in Busybox 1.31.0, it requires CONFIG_NET to be enabled in the kernel such that the mdev daemon can listen to netlink events. Signed-off-by: Titouan Christophe --- linux/linux.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux/linux.mk b/linux/linux.mk index dd182d06b2..7468f1be60 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -333,6 +333,8 @@ define LINUX_KCONFIG_FIXUP_CMDS $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config)) $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV), $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER,$(@D)/.config)) + $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV), + $(call KCONFIG_ENABLE_OPT,CONFIG_NET,$(@D)/.config)) $(if $(BR2_PACKAGE_AUDIT), $(call KCONFIG_ENABLE_OPT,CONFIG_NET,$(@D)/.config) $(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT,$(@D)/.config))