From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH] systemd: always install udev rule for kernel module loading
Date: Fri, 26 Nov 2021 10:58:00 +0100 [thread overview]
Message-ID: <20211126095800.2374644-1-bst@pengutronix.de> (raw)
It is generally intended that kernel modules are loaded via udev. So
drop the corresponding option and install the udev rule unconditionally.
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
rules/systemd.in | 11 -----------
rules/systemd.make | 2 +-
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/rules/systemd.in b/rules/systemd.in
index 74169cd5a..1a8696d2b 100644
--- a/rules/systemd.in
+++ b/rules/systemd.in
@@ -176,17 +176,6 @@ menu "udev "
menu "install options "
-config SYSTEMD_UDEV_DRIVERS_RULES
- bool
- default y
- prompt "install udev driver rules"
- help
- This will install the generic udev drivers rules files from the udev package
- under '/usr/lib/udev/rules.d/',
- These rules are required to automatically load kernel modules on
- udev start.
- If unsure say Y.
-
config SYSTEMD_UDEV_HWDB
bool
select SYSTEMD_HWDB
diff --git a/rules/systemd.make b/rules/systemd.make
index 2d96de70b..41bd5a8a8 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -299,6 +299,7 @@ SYSTEMD_UDEV_RULES-y := \
64-btrfs.rules \
75-net-description.rules \
78-sound-card.rules \
+ 80-drivers.rules \
80-net-setup-link.rules \
99-systemd.rules
@@ -323,7 +324,6 @@ SYSTEMD_UDEV_RULES-$(PTXCONF_SYSTEMD_UDEV_PERSISTENT_FIDO) += 60-fido-id.rules
SYSTEMD_UDEV_RULES-$(PTXCONF_SYSTEMD_UDEV_PERSISTENT_V4L) += 60-persistent-v4l.rules
SYSTEMD_UDEV_RULES-$(PTXCONF_ARCH_X86) += 70-memory.rules
SYSTEMD_UDEV_RULES-$(PTXCONF_SYSTEMD_UDEV_MTD_PROBE) += 75-probe_mtd.rules
-SYSTEMD_UDEV_RULES-$(PTXCONF_SYSTEMD_UDEV_DRIVERS_RULES) += 80-drivers.rules
$(STATEDIR)/systemd.targetinstall:
@$(call targetinfo)
--
2.30.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2021-11-26 9:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-26 9:58 Bastian Krause [this message]
2021-11-26 14:33 ` Michael Olbrich
2021-11-29 13:50 ` [ptxdist] [APPLIED] " Michael Olbrich
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211126095800.2374644-1-bst@pengutronix.de \
--to=bst@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox