Signed-off-by: Lars Pedersen <[email protected]>
---
 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
[email protected]

Reply via email to