From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lf1-x141.google.com ([2a00:1450:4864:20::141]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1hpuwg-0000eu-CZ for ptxdist@pengutronix.de; Tue, 23 Jul 2019 15:35:10 +0200 Received: by mail-lf1-x141.google.com with SMTP id r15so12377428lfm.11 for ; Tue, 23 Jul 2019 06:35:10 -0700 (PDT) From: Lars Pedersen Date: Tue, 23 Jul 2019 15:35:02 +0200 Message-Id: <20190723133502.20922-1-lapeddk@gmail.com> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] 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 --- 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