diff options
| author | Daniel Golle | 2023-12-11 22:28:44 +0000 |
|---|---|---|
| committer | Daniel Golle | 2023-12-11 22:28:44 +0000 |
| commit | 846302d09246fca0a187ba676a932cba5e7a4929 (patch) | |
| tree | 2ffaec8a7eb3f80242e6200053b424fe18577bd7 | |
| parent | bc3b8cdd3de3f5d59016038bb3f7d266fbf1301c (diff) | |
libfstools: partname: raise priority to 25
Make sure partname has precedence over UBI and MTD.
We already got ways to prevent partname for matching partitions if
needed, however, we would need them as well for UBI and MTD to prevent
use of UBI rootfs_data despite having started from MMC on boards
having both (such as the BPi-R3).
Reported-by: Rui Salvaterra <rsalvaterra@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
| -rw-r--r-- | libfstools/partname.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libfstools/partname.c b/libfstools/partname.c index 74bd608..9f2347a 100644 --- a/libfstools/partname.c +++ b/libfstools/partname.c @@ -199,6 +199,7 @@ static struct volume *partname_volume_find(char *name) static struct driver partname_driver = { .name = "partname", + .priority = 25, .find = partname_volume_find, .init = partname_volume_init, .identify = partname_volume_identify, |