From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lf1-x143.google.com ([2a00:1450:4864:20::143]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1hpvED-000304-LW for ptxdist@pengutronix.de; Tue, 23 Jul 2019 15:53:18 +0200 Received: by mail-lf1-x143.google.com with SMTP id u10so29389844lfm.12 for ; Tue, 23 Jul 2019 06:53:17 -0700 (PDT) From: Lars Pedersen Date: Tue, 23 Jul 2019 15:53:11 +0200 Message-Id: <20190723135311.21924-1-lapeddk@gmail.com> In-Reply-To: <20190723133502.20922-1-lapeddk@gmail.com> References: <20190723133502.20922-1-lapeddk@gmail.com> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2] systemd: Install configuration files for systemd-modules-load.service List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Lars Pedersen Signed-off-by: Lars Pedersen --- v2: Added systemd prefix to title rules/systemd.in | 5 +++++ rules/systemd.make | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/rules/systemd.in b/rules/systemd.in index 5ce43b99c..c7f410cf7 100644 --- a/rules/systemd.in +++ b/rules/systemd.in @@ -169,6 +169,11 @@ config SYSTEMD_UDEV_CUST_RULES This will install the customized udev rules files from 'projectroot/usr/lib/udev/rules.d' into '/usr/lib/udev/rules.d' +config SYSTEMD_MODULES_LOAD_D + bool + default n + prompt "install kernel modules to load at boot" + endmenu menu "persistent device node links " diff --git a/rules/systemd.make b/rules/systemd.make index da375fd89..4bed33be5 100644 --- a/rules/systemd.make +++ b/rules/systemd.make @@ -452,6 +452,10 @@ ifdef PTXCONF_SYSTEMD_UDEV_CUST_RULES @$(call install_alternative_tree, systemd, 0, 0, /usr/lib/udev/rules.d) endif +ifdef PTXCONF_SYSTEMD_MODULES_LOAD_D + @$(call install_alternative_tree, systemd, 0, 0, /usr/lib/modules-load.d) +endif + @$(call install_finish, systemd) @$(call touch) -- 2.21.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de