From: Muhammad Hamza <[email protected]> Failure message is shown in boot logs when trying to mount lvm as automounter does not handle cases where lvm is mounted. This simply skips lvm while automounting to avoid failure message in boot logs.
Signed-off-by: Ansar Rasool <[email protected]> Signed-off-by: Muhammad Hamza <[email protected]> Signed-off-by: Luca Ceresoli <[email protected]> (cherry picked from commit b1d18072ed9a8b0bca0f20f8e5deefa73ab6acbe) Signed-off-by: Ming Liu <[email protected]> Signed-off-by: Steve Sakoman <[email protected]> --- meta/recipes-core/udev/udev-extraconf/mount.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh b/meta/recipes-core/udev/udev-extraconf/mount.sh index 537828e3e3..8b6ce77741 100644 --- a/meta/recipes-core/udev/udev-extraconf/mount.sh +++ b/meta/recipes-core/udev/udev-extraconf/mount.sh @@ -76,6 +76,8 @@ automount_systemd() { ;; swap) return ;; + lvm*|LVM*) + return ;; # TODO *) ;; @@ -129,6 +131,8 @@ automount() { ;; swap) return ;; + lvm*|LVM*) + return ;; # TODO *) ;; -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#168209): https://lists.openembedded.org/g/openembedded-core/message/168209 Mute This Topic: https://lists.openembedded.org/mt/92460251/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
