diff options
-rw-r--r-- | meta/recipes-core/initrdscripts/files/init-live.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/initrdscripts/files/init-live.sh b/meta/recipes-core/initrdscripts/files/init-live.sh index 09fb479915..441b41c9d6 100644 --- a/meta/recipes-core/initrdscripts/files/init-live.sh +++ b/meta/recipes-core/initrdscripts/files/init-live.sh | |||
@@ -80,7 +80,9 @@ read_args() { | |||
80 | boot_live_root() { | 80 | boot_live_root() { |
81 | # Watches the udev event queue, and exits if all current events are handled | 81 | # Watches the udev event queue, and exits if all current events are handled |
82 | udevadm settle --timeout=3 --quiet | 82 | udevadm settle --timeout=3 --quiet |
83 | killall "${_UDEV_DAEMON##*/}" 2>/dev/null | 83 | # Kills the current udev running processes, which survived after |
84 | # device node creation events were handled, to avoid unexpected behavior | ||
85 | killall -9 "${_UDEV_DAEMON##*/}" 2>/dev/null | ||
84 | 86 | ||
85 | # Allow for identification of the real root even after boot | 87 | # Allow for identification of the real root even after boot |
86 | mkdir -p ${ROOT_MOUNT}/media/realroot | 88 | mkdir -p ${ROOT_MOUNT}/media/realroot |