From: Daniel Golle Date: Mon, 11 Dec 2023 22:28:44 +0000 (+0000) Subject: libfstools: partname: raise priority to 25 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=846302d09246fca0a187ba676a932cba5e7a4929;p=project%2Ffstools.git 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 Signed-off-by: Daniel Golle --- 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,