block: try to find the root device on both / and /rom
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 3 Jan 2023 11:06:58 +0000 (12:06 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 28 May 2023 16:01:32 +0000 (17:01 +0100)
commit9cd09d4269bb15710b5d9bd72573ef243eb2927c
tree795c92c3fbaa58d7fbd83ef650a024f57004036a
parentc1a8d95116672e0ab85ca7f1d67e1a2886035c8b
block: try to find the root device on both / and /rom

Sometimes / is already overlay mounted, assume /rom contains the real
rootfs.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
block.c