mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
udev-extraconf/mount.sh: ignore lvm in automount
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. (From OE-Core rev: 9d90c89bd964bfabb31e64424e7000ac88a2697b) Signed-off-by: Ansar Rasool <ansar_rasool@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit b1d18072ed9a8b0bca0f20f8e5deefa73ab6acbe) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c993a88c3f
commit
a19f966ef5
@@ -76,6 +76,8 @@ automount_systemd() {
|
||||
;;
|
||||
swap)
|
||||
return ;;
|
||||
lvm*|LVM*)
|
||||
return ;;
|
||||
# TODO
|
||||
*)
|
||||
;;
|
||||
@@ -129,6 +131,8 @@ automount() {
|
||||
;;
|
||||
swap)
|
||||
return ;;
|
||||
lvm*|LVM*)
|
||||
return ;;
|
||||
# TODO
|
||||
*)
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user