mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] systemd: always install udev rule for kernel module loading
Date: Mon, 29 Nov 2021 14:50:57 +0100	[thread overview]
Message-ID: <20211129135057.3519018-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20211126095800.2374644-1-bst@pengutronix.de>

Thanks, applied as e85e463bb4164a5a68bb4ad06dfdb5d713a86448.

Michael

[sent from post-receive hook]

On Mon, 29 Nov 2021 14:50:57 +0100, Bastian Krause <bst@pengutronix.de> wrote:
> 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>
> Message-Id: <20211126095800.2374644-1-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/systemd.in b/rules/systemd.in
> index 74169cd5a7ca..1a8696d2b821 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 2d96de70b628..41bd5a8a8679 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)

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


      parent reply	other threads:[~2021-11-29 13:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-26  9:58 [ptxdist] [PATCH] " Bastian Krause
2021-11-26 14:33 ` Michael Olbrich
2021-11-29 13:50 ` Michael Olbrich [this message]

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=20211129135057.3519018-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=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