Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alex Kiernan <alex.kiernan@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alex Kiernan <alex.kiernan@gmail.com>
Subject: [PATCH OE-Core v4 5/5] eudev: Drop --output=... from kmod call in init script
Date: Sat, 15 Mar 2025 10:24:42 +0000	[thread overview]
Message-ID: <20250315-kmod-v4-5-946682cc4090@gmail.com> (raw)
In-Reply-To: <20250315-kmod-v4-0-946682cc4090@gmail.com>

This awkward invocation is no longer required as kmod just uses the stdout file
descriptor, rather than explicitly opening /dev/stdout.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
---
 meta/recipes-core/udev/eudev/init | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/recipes-core/udev/eudev/init b/meta/recipes-core/udev/eudev/init
index 477a525b21212ad72d2661e27e1218fca9fee5db..790cd3b9339b6334dbab1feaa65f8948d72c76ea 100644
--- a/meta/recipes-core/udev/eudev/init
+++ b/meta/recipes-core/udev/eudev/init
@@ -27,8 +27,7 @@ make_static_nodes () {
     [ -e /lib/modules/$(uname -r)/modules.devname ] || return 0
     [ -x @KMOD@ ] || return 0
 
-    #output to /proc/self/fd/1 since /dev/stdout not created by udevd yet
-    @KMOD@ static-nodes --format=tmpfiles --output=/proc/self/fd/1 |
+    @KMOD@ static-nodes --format=tmpfiles |
     while read TTYPE TPATH TMODE TUSER TGROUP TAGE TARG; do
     case "${TTYPE}" in
     'd')

-- 
2.25.1



      parent reply	other threads:[~2025-03-15 10:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-15 10:24 [PATCH OE-Core v4 0/5] Upgrade kmod 33 -> 34.1 Alex Kiernan
2025-03-15 10:24 ` [PATCH OE-Core v4 1/5] scdoc: Import from meta-wayland Alex Kiernan
2025-03-15 10:24 ` [PATCH OE-Core v4 2/5] scdoc: Upgrade 1.11.2 -> 1.11.3 Alex Kiernan
2025-03-15 10:24 ` [PATCH OE-Core v4 3/5] selftest: gdbserver: Adjust regex for change to output Alex Kiernan
2025-03-15 10:24 ` [PATCH OE-Core v4 4/5] kmod: Upgrade 33 -> 34.1 Alex Kiernan
2025-03-15 10:24 ` Alex Kiernan [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=20250315-kmod-v4-5-946682cc4090@gmail.com \
    --to=alex.kiernan@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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