summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/initrdscripts/initramfs-framework/udev3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/udev b/meta/recipes-core/initrdscripts/initramfs-framework/udev
index 87551ff4a9..4898b89246 100644
--- a/meta/recipes-core/initrdscripts/initramfs-framework/udev
+++ b/meta/recipes-core/initrdscripts/initramfs-framework/udev
@@ -41,6 +41,9 @@ udev_run() {
41 mkdir -p /run 41 mkdir -p /run
42 mkdir -p /var/run 42 mkdir -p /var/run
43 43
44 # Workaround if console=null, systemd-udevd needs valid stdin, stdout and stderr to work
45 sh -c "exec 4< /dev/console" || { exec 0> /dev/null; exec 1> /dev/null; exec 2> /dev/null; }
46
44 $_UDEV_DAEMON --daemon 47 $_UDEV_DAEMON --daemon
45 udevadm trigger --action=add 48 udevadm trigger --action=add
46 udevadm settle 49 udevadm settle