block: don't add non-ubifs ubi devices
authorDaniel Golle <daniel@makrotopia.org>
Wed, 28 Jul 2021 16:30:31 +0000 (17:30 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 28 Jul 2021 19:21:41 +0000 (20:21 +0100)
commit46d02c2289e25460ec2f0d3c4e5c5eb7ab158119
treefa2b3b1e77b164555d0bffc9d35c342cbb94b82d
parent1d681ca59cada118633c6e2d65b882b4c8f0db58
block: don't add non-ubifs ubi devices

As they require ubiblock to be mounted, just skip ubi devices in case
they don't contain a ubifs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
block.c