block-extroot: make overlay mount check more explicit, it wrongly detected /tmp/overlay as successful overlay mount
SVN-Revision: 20390
This commit is contained in:
parent
75b8822733
commit
5293dddc31
|
@ -38,7 +38,7 @@ determine_external_root() {
|
||||||
config_load fstab
|
config_load fstab
|
||||||
config_foreach config_mount_by_section mount 1
|
config_foreach config_mount_by_section mount 1
|
||||||
|
|
||||||
[ "$rootfs_found" = "1" ] && grep -q /overlay /proc/mounts && {
|
[ "$rootfs_found" = "1" ] && grep -q ' /overlay ' /proc/mounts && {
|
||||||
pi_extroot_mount_success=true
|
pi_extroot_mount_success=true
|
||||||
pi_mount_skip_next=false
|
pi_mount_skip_next=false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue