mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
eudev: Drop --output=... from kmod call in init script
This awkward invocation is no longer required as kmod just uses the stdout file descriptor, rather than explicitly opening /dev/stdout. (From OE-Core rev: c54e9e205c5cc45c37c34a472a7e78266ee17983) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ee8811c2c8
commit
d5a4f0432a
@@ -27,8 +27,7 @@ make_static_nodes () {
|
|||||||
[ -e /lib/modules/$(uname -r)/modules.devname ] || return 0
|
[ -e /lib/modules/$(uname -r)/modules.devname ] || return 0
|
||||||
[ -x @KMOD@ ] || 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 |
|
||||||
@KMOD@ static-nodes --format=tmpfiles --output=/proc/self/fd/1 |
|
|
||||||
while read TTYPE TPATH TMODE TUSER TGROUP TAGE TARG; do
|
while read TTYPE TPATH TMODE TUSER TGROUP TAGE TARG; do
|
||||||
case "${TTYPE}" in
|
case "${TTYPE}" in
|
||||||
'd')
|
'd')
|
||||||
|
|||||||
Reference in New Issue
Block a user